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.001301/0.001301, 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.00146/0.00146, allocations: 211.5 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.378/1.378, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.9372/0.9372, allocations: 150 MB / 464 MB, free: 10.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001937/0.001937, allocations: 66.55 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1638, allocations: 89.17 MB / 0.7291 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003118/0.1669, allocations: 1.902 MB / 0.731 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004409/0.1714, allocations: 3.693 MB / 0.7346 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-05/0.1714, allocations: 0 / 0.7346 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007447/0.1722, allocations: 187.4 kB / 0.7348 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1724, allocations: 75.47 kB / 0.7348 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.1725, allocations: 51.92 kB / 0.7349 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000473/0.173, allocations: 271.1 kB / 0.7351 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.1731, allocations: 17.73 kB / 0.7351 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1732, allocations: 75.7 kB / 0.7352 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.1733, allocations: 79.62 kB / 0.7353 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1733, allocations: 8 kB / 0.7353 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.204e-05/0.1734, allocations: 35.97 kB / 0.7353 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.1735, allocations: 59.75 kB / 0.7354 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.1736, allocations: 83.48 kB / 0.7355 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1739, allocations: 199 kB / 0.7357 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1739, allocations: 0 / 0.7357 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1739, allocations: 0 / 0.7357 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1739, allocations: 0 / 0.7357 GB, free: 10.58 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.000825/0.1747, allocations: 475 kB / 0.7361 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1747, allocations: 16.03 kB / 0.7361 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.074e-05/0.1747, allocations: 192 / 0.7361 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.1748, allocations: 38.75 kB / 0.7362 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008652/0.1756, allocations: 124.5 kB / 0.7363 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.1761, allocations: 213.3 kB / 0.7365 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1761, allocations: 4 kB / 0.7365 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1761, allocations: 4 kB / 0.7365 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.1765, allocations: 149.5 kB / 0.7366 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1765, allocations: 0 / 0.7366 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1766, allocations: 0 / 0.7366 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.1766, allocations: 15.98 kB / 0.7367 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.177, allocations: 143.9 kB / 0.7368 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006918/0.1777, allocations: 443.5 kB / 0.7372 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.1781, allocations: 158.5 kB / 0.7374 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.1784, allocations: 104.8 kB / 0.7375 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1784, allocations: 12 kB / 0.7375 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1784, allocations: 34.5 kB / 0.7375 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.103e-06/0.1784, allocations: 3.938 kB / 0.7375 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008649/0.1793, allocations: 309.2 kB / 0.7378 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1794, allocations: 59.33 kB / 0.7379 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.1796, allocations: 245.9 kB / 0.7381 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1796, allocations: 25.7 kB / 0.7381 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.1797, allocations: 136.1 kB / 0.7383 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.1798, allocations: 43.62 kB / 0.7383 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.1798, allocations: 37.69 kB / 0.7383 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.18, allocations: 334.8 kB / 0.7387 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.1802, allocations: 79.92 kB / 0.7387 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1805, allocations: 71.94 kB / 0.7388 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.1809, allocations: 180.7 kB / 0.739 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1809, allocations: 4 kB / 0.739 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000545/0.1815, allocations: 225.4 kB / 0.7392 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1815, allocations: 8 kB / 0.7392 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1815, allocations: 4 kB / 0.7392 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1815, allocations: 0 / 0.7392 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.1818, allocations: 35.91 kB / 0.7392 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.1818, allocations: 7.938 kB / 0.7392 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.182, allocations: 23.86 kB / 0.7393 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.182, allocations: 0 / 0.7393 GB, free: 6.699 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.0001254/0.1821, allocations: 137.8 kB / 0.7394 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.1822, allocations: 31.84 kB / 0.7394 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.1822, allocations: 25.77 kB / 0.7395 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1822, allocations: 7.938 kB / 0.7395 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1822, allocations: 0 / 0.7395 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1822, allocations: 3.984 kB / 0.7395 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.1825, allocations: 244.6 kB / 0.7397 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1825, allocations: 3.938 kB / 0.7397 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.1828, allocations: 35.95 kB / 0.7397 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1828, allocations: 0 / 0.7397 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1828, allocations: 8 kB / 0.7397 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1828, allocations: 7.875 kB / 0.7398 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.1828, allocations: 7.922 kB / 0.7398 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.1834, allocations: 328 kB / 0.7401 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.1835, allocations: 35.78 kB / 0.7401 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.1835, allocations: 11.98 kB / 0.7401 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.1837, allocations: 15.92 kB / 0.7401 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.1838, allocations: 11.98 kB / 0.7401 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1838, allocations: 3.984 kB / 0.7401 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001547/0.1839, allocations: 177.2 kB / 0.7403 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1839, allocations: 0 / 0.7403 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002695/0.1842, allocations: 40 kB / 0.7404 GB, free: 5.52 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.0009006/0.1851, allocations: 0.8633 MB / 0.7412 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005266/0.1856, allocations: 175.8 kB / 0.7414 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1856, allocations: 0 / 0.7414 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.1859, allocations: 91.92 kB / 0.7415 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1863, allocations: 56.39 kB / 0.7415 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.1896, allocations: 2.419 MB / 0.7439 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.19, allocations: 0.7435 MB / 0.7446 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.1902, allocations: 65.36 kB / 0.7447 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.1903, allocations: 59.41 kB / 0.7447 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/0.1903, allocations: 0 / 0.7447 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.2151, allocations: 4.954 MB / 0.7496 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.03, allocations: 13.03 kB / 0.7496 GB, free: 12.15 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: 14.94401855400065] Failed to read output from testmodel.py, exit status != 0: 11.195027553010732 11.504624318 11.046549261 Calling exit ...