Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001331/0.001331, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001516/0.001516, allocations: 217.7 kB / 23 MB, free: 5.004 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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9219/0.9219, allocations: 150 MB / 463.2 MB, free: 10.5 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.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",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.001943/0.001943, allocations: 66.27 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1636, allocations: 89.17 MB / 0.7284 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003209/0.1669, allocations: 1.893 MB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004895/0.1717, allocations: 3.697 MB / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1719, allocations: 0 / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008367/0.1727, allocations: 179.5 kB / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.173, allocations: 83.41 kB / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.1731, allocations: 55.91 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.1737, allocations: 263.1 kB / 0.7344 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1738, allocations: 17.73 kB / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1739, allocations: 75.7 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1741, allocations: 87.61 kB / 0.7345 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.1741, allocations: 8 kB / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1743, allocations: 31.97 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.1743, allocations: 55.77 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.1744, allocations: 83.48 kB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1747, allocations: 207 kB / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1747, allocations: 0 / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1747, allocations: 0 / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.1748, allocations: 0 / 0.7349 GB, free: 10.54 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000923/0.1757, allocations: 472.8 kB / 0.7354 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1757, allocations: 12.03 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.1758, allocations: 38.73 kB / 0.7354 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000862/0.1766, allocations: 124.6 kB / 0.7355 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.1772, allocations: 205.5 kB / 0.7357 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1772, allocations: 3.938 kB / 0.7357 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1772, allocations: 4 kB / 0.7357 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.1776, allocations: 153.5 kB / 0.7359 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1776, allocations: 4 kB / 0.7359 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.1776, allocations: 7.984 kB / 0.7359 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.1776, allocations: 8 kB / 0.7359 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.1781, allocations: 147.9 kB / 0.736 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.1788, allocations: 431.6 kB / 0.7364 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.1793, allocations: 166.5 kB / 0.7366 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.1795, allocations: 104.8 kB / 0.7367 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1795, allocations: 3.984 kB / 0.7367 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1796, allocations: 42.56 kB / 0.7367 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1796, allocations: 3.938 kB / 0.7368 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008451/0.1804, allocations: 305.6 kB / 0.737 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1805, allocations: 59.34 kB / 0.7371 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.1807, allocations: 241.9 kB / 0.7373 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1807, allocations: 33.64 kB / 0.7374 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.1808, allocations: 136.1 kB / 0.7375 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.1809, allocations: 43.64 kB / 0.7375 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.1809, allocations: 33.7 kB / 0.7376 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1811, allocations: 334.8 kB / 0.7379 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.1813, allocations: 75.94 kB / 0.738 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1815, allocations: 79.92 kB / 0.738 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.182, allocations: 179.6 kB / 0.7382 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.182, allocations: 0 / 0.7382 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005446/0.1825, allocations: 229.4 kB / 0.7384 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1825, allocations: 4 kB / 0.7384 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1825, allocations: 0 / 0.7384 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1826, allocations: 4 kB / 0.7384 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.1828, allocations: 43.94 kB / 0.7385 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1829, allocations: 3.938 kB / 0.7385 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.183, allocations: 23.81 kB / 0.7385 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.183, allocations: 4 kB / 0.7385 GB, free: 6.66 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 (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 prepare postOptimizeDAE: time 0.0001275/0.1832, allocations: 143.8 kB / 0.7386 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.1832, allocations: 23.86 kB / 0.7387 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.1833, allocations: 29.77 kB / 0.7387 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1833, allocations: 0 / 0.7387 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1833, allocations: 3.938 kB / 0.7387 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1833, allocations: 4 kB / 0.7387 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.1836, allocations: 244.6 kB / 0.7389 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1836, allocations: 0 / 0.7389 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.1838, allocations: 39.95 kB / 0.739 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1838, allocations: 4 kB / 0.739 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1839, allocations: 0 / 0.739 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1839, allocations: 3.938 kB / 0.739 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1839, allocations: 3.938 kB / 0.739 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.1844, allocations: 331.3 kB / 0.7393 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.1845, allocations: 39.77 kB / 0.7393 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.1846, allocations: 4 kB / 0.7393 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1848, allocations: 15.92 kB / 0.7394 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.1848, allocations: 19.91 kB / 0.7394 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1848, allocations: 4 kB / 0.7394 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001702/0.185, allocations: 177.2 kB / 0.7395 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.185, allocations: 4 kB / 0.7396 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002601/0.1853, allocations: 36 kB / 0.7396 GB, free: 5.488 MB / 0.5606 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.0008857/0.1862, allocations: 0.8567 MB / 0.7404 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.1867, allocations: 187.4 kB / 0.7406 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1867, allocations: 0 / 0.7406 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.1869, allocations: 95.92 kB / 0.7407 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1873, allocations: 48.34 kB / 0.7407 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.1906, allocations: 2.417 MB / 0.7431 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.191, allocations: 0.7435 MB / 0.7438 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.1912, allocations: 61.38 kB / 0.7439 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1913, allocations: 63.41 kB / 0.7439 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.1913, allocations: 0 / 0.7439 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.2234, allocations: 4.933 MB / 0.7488 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.1, allocations: 10.03 kB / 0.7488 GB, free: 12.13 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.008242286974564] Failed to read output from testmodel.py, exit status != 0: 11.208975606132299 11.563945352 11.061919101 Calling exit ...