Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.002128/0.002128, allocations: 119 kB / 19.69 MB, free: 2.199 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.002446/0.002446, allocations: 224.1 kB / 23.01 MB, free: 5.047 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.912/0.912, allocations: 150 MB / 463.2 MB, free: 10.45 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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001908/0.001908, allocations: 70.27 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1732, allocations: 89.17 MB / 0.7284 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002788/0.176, allocations: 1.603 MB / 0.7299 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1776, allocations: 1.009 MB / 0.7309 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.1777, allocations: 7.938 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.1777, allocations: 3.938 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1779, allocations: 27.78 kB / 0.7309 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.1783, allocations: 167.1 kB / 0.7311 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1785, allocations: 79.66 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.1786, allocations: 12.27 kB / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1787, allocations: 35.84 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1788, allocations: 39.84 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1788, allocations: 4 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.1792, allocations: 287.7 kB / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.1793, allocations: 15.91 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.1793, allocations: 27.86 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.1796, allocations: 175.3 kB / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1796, allocations: 0 / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1796, allocations: 0 / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.1796, allocations: 0 / 0.7318 GB, free: 13.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005726/0.1802, allocations: 337.7 kB / 0.7321 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1802, allocations: 12.03 kB / 0.7321 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.1802, allocations: 30.75 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.1805, allocations: 32.86 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1807, allocations: 138.4 kB / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1808, allocations: 8.125 kB / 0.7323 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1808, allocations: 4 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1809, allocations: 57.67 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1809, allocations: 3.938 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.181, allocations: 0 / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.181, allocations: 4 kB / 0.7324 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.1811, allocations: 51.94 kB / 0.7324 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.1816, allocations: 271.8 kB / 0.7327 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.1817, allocations: 54.48 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.1818, allocations: 28.97 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1818, allocations: 8.016 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1818, allocations: 30.56 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1818, allocations: 4 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003596/0.1822, allocations: 101.6 kB / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1822, allocations: 55.39 kB / 0.7329 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1824, allocations: 140.9 kB / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1824, allocations: 25.7 kB / 0.7331 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.1824, allocations: 100.1 kB / 0.7332 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1825, allocations: 15.89 kB / 0.7332 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.1825, allocations: 17.72 kB / 0.7332 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1827, allocations: 326.8 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.1827, allocations: 19.98 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/0.1828, allocations: 27.92 kB / 0.7336 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.183, allocations: 57.2 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.183, allocations: 0 / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002132/0.1832, allocations: 93.61 kB / 0.7337 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1832, allocations: 4 kB / 0.7337 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1832, allocations: 4 kB / 0.7337 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1832, allocations: 0 / 0.7337 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1833, allocations: 15.98 kB / 0.7337 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1833, allocations: 7.938 kB / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.1834, allocations: 11.83 kB / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1834, allocations: 4 kB / 0.7338 GB, free: 11.45 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 (6): * Single equations (assignments): 6 * 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 8.031e-05/0.1835, allocations: 113.8 kB / 0.7339 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.1835, allocations: 11.94 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.1838, allocations: 98.06 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1838, allocations: 0 / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1838, allocations: 0 / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1838, allocations: 7.938 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.184, allocations: 152.7 kB / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.184, allocations: 0 / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.184, allocations: 19.92 kB / 0.7341 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.184, allocations: 0 / 0.7341 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1841, allocations: 3.938 kB / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1841, allocations: 0 / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1841, allocations: 4 kB / 0.7342 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.1843, allocations: 195.5 kB / 0.7343 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.1843, allocations: 7.953 kB / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1843, allocations: 0 / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.1844, allocations: 4 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.1845, allocations: 11.92 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.1845, allocations: 7.938 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.939e-05/0.1845, allocations: 109.1 kB / 0.7345 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1845, allocations: 0 / 0.7345 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002327/0.1848, allocations: 23.94 kB / 0.7345 GB, free: 10.62 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 (6): * Single equations (assignments): 6 * 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.0006209/0.1854, allocations: 0.728 MB / 0.7352 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1856, allocations: 55.95 kB / 0.7353 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1856, allocations: 0 / 0.7353 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.1857, allocations: 35.92 kB / 0.7353 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.186, allocations: 9.969 kB / 0.7353 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1877, allocations: 1.479 MB / 0.7368 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.188, allocations: 0.6924 MB / 0.7374 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.188, allocations: 7.984 kB / 0.7374 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.1881, allocations: 23.44 kB / 0.7375 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1881, allocations: 0 / 0.7375 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.2157, allocations: 2.49 MB / 0.7399 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.7, allocations: 9.203 kB / 0.7399 GB, free: 5.109 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.48180562700145] Failed to read output from testmodel.py, exit status != 0: 10.799534541001776 10.822570558 10.638656394 Calling exit ...