Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 109 kB / 20.48 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 210.7 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.381/1.381, allocations: 230.6 MB / 257.6 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9134/0.9134, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 69.19 kB / 0.642 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1876, allocations: 89.17 MB / 0.7291 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003759/0.1913, allocations: 2.205 MB / 0.7313 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005335/0.1967, allocations: 4.266 MB / 0.7354 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1968, allocations: 7.938 kB / 0.7354 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.1975, allocations: 199.1 kB / 0.7356 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.1977, allocations: 79.28 kB / 0.7357 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.1984, allocations: 339.2 kB / 0.736 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006466/0.1991, allocations: 450.6 kB / 0.7365 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1992, allocations: 40.91 kB / 0.7365 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.1994, allocations: 143.5 kB / 0.7366 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.1996, allocations: 163.3 kB / 0.7368 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.1996, allocations: 20 kB / 0.7368 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.2002, allocations: 359.5 kB / 0.7372 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.2003, allocations: 123.6 kB / 0.7373 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.2005, allocations: 170.9 kB / 0.7374 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006902/0.2012, allocations: 0.5837 MB / 0.738 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2012, allocations: 0 / 0.738 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2012, allocations: 3.938 kB / 0.738 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2012, allocations: 0 / 0.738 GB, free: 8.082 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00145/0.2026, allocations: 0.7492 MB / 0.7387 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2027, allocations: 8.031 kB / 0.7387 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.582e-05/0.2027, allocations: 4.375 kB / 0.7388 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.2027, allocations: 46.67 kB / 0.7388 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.2047, allocations: 316.2 kB / 0.7391 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009975/0.2057, allocations: 355.8 kB / 0.7394 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2057, allocations: 8 kB / 0.7394 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.2058, allocations: 16 kB / 0.7395 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.2065, allocations: 262.3 kB / 0.7397 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2065, allocations: 0 / 0.7397 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.2065, allocations: 3.938 kB / 0.7397 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2066, allocations: 8 kB / 0.7397 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.2076, allocations: 343.6 kB / 0.74 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.2092, allocations: 0.6749 MB / 0.7407 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.2098, allocations: 226.3 kB / 0.7409 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/0.2103, allocations: 172.7 kB / 0.7411 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.2104, allocations: 27.97 kB / 0.7411 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.2104, allocations: 30.56 kB / 0.7411 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2104, allocations: 0 / 0.7411 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.001865/0.2123, allocations: 0.6028 MB / 0.7417 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.2123, allocations: 55.41 kB / 0.7418 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.2128, allocations: 445.9 kB / 0.7422 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.2128, allocations: 33.7 kB / 0.7422 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.213, allocations: 192.5 kB / 0.7424 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/0.213, allocations: 43.59 kB / 0.7425 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2132, allocations: 57.67 kB / 0.7425 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2133, allocations: 354.8 kB / 0.7429 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006741/0.214, allocations: 296 kB / 0.7431 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006587/0.2147, allocations: 305.7 kB / 0.7434 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.2159, allocations: 0.5201 MB / 0.7439 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2159, allocations: 0 / 0.7439 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001537/0.2174, allocations: 0.7395 MB / 0.7447 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.2175, allocations: 41.69 kB / 0.7447 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2175, allocations: 7.875 kB / 0.7447 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2175, allocations: 0 / 0.7447 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.218, allocations: 71.91 kB / 0.7448 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.218, allocations: 0 / 0.7448 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.2184, allocations: 59.73 kB / 0.7448 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.2184, allocations: 11.98 kB / 0.7449 GB, free: 0.8555 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.2186, allocations: 157.8 kB / 0.745 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.2187, allocations: 39.72 kB / 0.745 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.22, allocations: 478.9 kB / 0.7455 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.22, allocations: 4 kB / 0.7455 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.22, allocations: 0 / 0.7455 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2201, allocations: 3.984 kB / 0.7455 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.2205, allocations: 360.3 kB / 0.7458 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2205, allocations: 0 / 0.7458 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.221, allocations: 67.86 kB / 0.7459 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.221, allocations: 0 / 0.7459 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.221, allocations: 11.92 kB / 0.7459 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.221, allocations: 0 / 0.7459 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.221, allocations: 0 / 0.7459 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.2223, allocations: 0.5108 MB / 0.7464 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.2224, allocations: 67.61 kB / 0.7465 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.2225, allocations: 3.938 kB / 0.7465 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.2229, allocations: 39.94 kB / 0.7465 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.2229, allocations: 23.97 kB / 0.7466 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.223, allocations: 0 / 0.7466 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000328/0.2233, allocations: 319.1 kB / 0.7469 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2233, allocations: 0 / 0.7469 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004782/0.2238, allocations: 127.8 kB / 0.747 GB, free: 14.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/0.2257, allocations: 1.133 MB / 0.7481 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.2272, allocations: 0.6408 MB / 0.7487 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2272, allocations: 4 kB / 0.7487 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005913/0.2278, allocations: 191.8 kB / 0.7489 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.2283, allocations: 60.16 kB / 0.749 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/0.2364, allocations: 5.326 MB / 0.7542 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.2369, allocations: 0.8026 MB / 0.7549 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003072/0.2372, allocations: 73.89 kB / 0.755 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.2374, allocations: 123.4 kB / 0.7551 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.2374, allocations: 0 / 0.7551 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3531/0.5905, allocations: 9.603 MB / 0.7645 GB, free: 35.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.95, allocations: 10.09 kB / 0.7645 GB, free: 35.23 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.595319412997924] Failed to read output from testmodel.py, exit status != 0: 12.115195027028676 12.139299609 11.933189805 Calling exit ...