Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001243/0.001243, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001328/0.001328, allocations: 211.1 kB / 22.24 MB, free: 5.121 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002339/0.002339, allocations: 283.6 kB / 312.7 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.159/1.159, allocations: 180.6 MB / 0.5369 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00278/0.00278, allocations: 101.7 kB / 0.7395 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1671, allocations: 95.38 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003207/0.1703, allocations: 2.037 MB / 0.8346 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.172, allocations: 1.002 MB / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1721, allocations: 3.938 kB / 0.8356 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.402e-05/0.1722, allocations: 27.66 kB / 0.8357 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.1725, allocations: 91.22 kB / 0.8357 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.1729, allocations: 194.1 kB / 0.8359 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.1733, allocations: 298.8 kB / 0.8362 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1734, allocations: 53.11 kB / 0.8363 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.1736, allocations: 111.5 kB / 0.8364 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1738, allocations: 127.4 kB / 0.8365 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.1738, allocations: 23.94 kB / 0.8365 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.1743, allocations: 279.6 kB / 0.8368 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1743, allocations: 39.84 kB / 0.8368 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.1744, allocations: 99.45 kB / 0.8369 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.1748, allocations: 338.5 kB / 0.8372 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1748, allocations: 0 / 0.8372 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1748, allocations: 4 kB / 0.8372 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.1749, allocations: 0 / 0.8372 GB, free: 3.59 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00107/0.1759, allocations: 0.5671 MB / 0.8378 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.176, allocations: 9.938 kB / 0.8378 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.176, allocations: 46.73 kB / 0.8378 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.1762, allocations: 36.75 kB / 0.8379 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.1766, allocations: 221.5 kB / 0.8381 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1766, allocations: 8.656 kB / 0.8381 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.1766, allocations: 20.38 kB / 0.8381 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.1772, allocations: 232.7 kB / 0.8383 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1772, allocations: 0 / 0.8383 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1772, allocations: 8 kB / 0.8383 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1772, allocations: 4 kB / 0.8384 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.1778, allocations: 199.8 kB / 0.8385 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.179, allocations: 0.8868 MB / 0.8394 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/0.1798, allocations: 229.1 kB / 0.8396 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.1801, allocations: 105.6 kB / 0.8397 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.1801, allocations: 4 kB / 0.8397 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.1802, allocations: 42.5 kB / 0.8398 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.1802, allocations: 0 / 0.8398 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001131/0.1813, allocations: 329.6 kB / 0.8401 GB, free: 500 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.1814, allocations: 89.03 kB / 0.8402 GB, free: 392 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.1817, allocations: 264.2 kB / 0.8404 GB, free: 124 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1817, allocations: 29.7 kB / 0.8405 GB, free: 88 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1818, allocations: 164.3 kB / 0.8406 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.1819, allocations: 51.55 kB / 0.8407 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.1819, allocations: 45.7 kB / 0.8407 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1821, allocations: 334.8 kB / 0.841 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.1824, allocations: 87.92 kB / 0.8411 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.1828, allocations: 144.3 kB / 0.8412 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.1834, allocations: 254.3 kB / 0.8415 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1834, allocations: 0 / 0.8415 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008096/0.1842, allocations: 305.2 kB / 0.8418 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1842, allocations: 6.188 kB / 0.8418 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1843, allocations: 4 kB / 0.8418 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1843, allocations: 0 / 0.8418 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.1845, allocations: 55.95 kB / 0.8418 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1846, allocations: 11.92 kB / 0.8419 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.1848, allocations: 39.86 kB / 0.8419 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1848, allocations: 8.062 kB / 0.8419 GB, free: 14.54 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001334/0.1849, allocations: 134.4 kB / 0.842 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.185, allocations: 31.75 kB / 0.8421 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/0.1858, allocations: 291.1 kB / 0.8423 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1858, allocations: 4 kB / 0.8423 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1858, allocations: 0 / 0.8423 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1858, allocations: 3.984 kB / 0.8423 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.1862, allocations: 240.5 kB / 0.8426 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1862, allocations: 4 kB / 0.8426 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.1864, allocations: 55.89 kB / 0.8426 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.1865, allocations: 4.281 kB / 0.8426 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1865, allocations: 7.938 kB / 0.8426 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1865, allocations: 0 / 0.8426 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1865, allocations: 11.92 kB / 0.8426 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.1873, allocations: 440.9 kB / 0.8431 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.1874, allocations: 31.81 kB / 0.8431 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.1874, allocations: 4 kB / 0.8431 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.1876, allocations: 23.97 kB / 0.8431 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.1877, allocations: 23.95 kB / 0.8432 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1877, allocations: 8 kB / 0.8432 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001862/0.1879, allocations: 187.1 kB / 0.8433 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1879, allocations: 0 / 0.8433 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003375/0.1882, allocations: 63.89 kB / 0.8434 GB, free: 12.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.00124/0.1895, allocations: 0.987 MB / 0.8444 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007256/0.1902, allocations: 227.6 kB / 0.8446 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1902, allocations: 0 / 0.8446 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.1906, allocations: 116.1 kB / 0.8447 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.1911, allocations: 73.66 kB / 0.8448 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.1951, allocations: 2.712 MB / 0.8474 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.1952, allocations: 147 kB / 0.8475 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.1954, allocations: 26.3 kB / 0.8476 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.1955, allocations: 87.41 kB / 0.8477 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1955, allocations: 0 / 0.8477 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.2327, allocations: 7.586 MB / 0.8551 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.01, allocations: 6.938 kB / 0.8551 GB, free: 1.062 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.009656193200499] Failed to read output from testmodel.py, exit status != 0: 11.113425088580698 11.129670894 10.951893339 Calling exit ...