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.001268/0.001268, allocations: 108.2 kB / 16.45 MB, free: 6.508 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.001388/0.001388, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.391/1.391, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002401/0.002401, allocations: 284.1 kB / 309.1 MB, free: 3.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 180.9 MB / 0.5333 GB, free: 13.78 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002715/0.002715, allocations: 103.1 kB / 0.7343 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1678, allocations: 95.34 MB / 0.8274 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00326/0.1711, allocations: 2.153 MB / 0.8295 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1729, allocations: 1.084 MB / 0.8305 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.173, allocations: 3.938 kB / 0.8305 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.472e-05/0.173, allocations: 27.66 kB / 0.8305 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.1734, allocations: 79.3 kB / 0.8306 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.1738, allocations: 199 kB / 0.8308 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.1741, allocations: 298.7 kB / 0.8311 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1743, allocations: 48.94 kB / 0.8311 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1744, allocations: 107.6 kB / 0.8312 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1746, allocations: 143.3 kB / 0.8314 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.1747, allocations: 16 kB / 0.8314 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.1751, allocations: 303.6 kB / 0.8317 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.1751, allocations: 51.72 kB / 0.8317 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.1752, allocations: 115.3 kB / 0.8318 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.1756, allocations: 342.5 kB / 0.8322 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1756, allocations: 0 / 0.8322 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1756, allocations: 0 / 0.8322 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.1757, allocations: 4 kB / 0.8322 GB, free: 4.871 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.001129/0.1768, allocations: 0.6307 MB / 0.8328 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1768, allocations: 8.031 kB / 0.8328 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.1769, allocations: 46.73 kB / 0.8328 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.1771, allocations: 36.75 kB / 0.8329 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.1775, allocations: 283.7 kB / 0.8332 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1775, allocations: 20.58 kB / 0.8332 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1775, allocations: 20.38 kB / 0.8332 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.1781, allocations: 228.7 kB / 0.8334 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1781, allocations: 4 kB / 0.8334 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.1781, allocations: 4 kB / 0.8334 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1781, allocations: 4 kB / 0.8334 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006844/0.1788, allocations: 207.7 kB / 0.8336 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.18, allocations: 0.9423 MB / 0.8345 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.1807, allocations: 233.2 kB / 0.8348 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.1811, allocations: 101.6 kB / 0.8349 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1811, allocations: 12 kB / 0.8349 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1811, allocations: 30.56 kB / 0.8349 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.1811, allocations: 0 / 0.8349 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001193/0.1823, allocations: 337.5 kB / 0.8352 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.1824, allocations: 81.05 kB / 0.8353 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.1827, allocations: 271 kB / 0.8356 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1827, allocations: 25.7 kB / 0.8356 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1828, allocations: 160.3 kB / 0.8357 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.1829, allocations: 59.48 kB / 0.8358 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.1829, allocations: 41.7 kB / 0.8358 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1831, allocations: 334.8 kB / 0.8361 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.1834, allocations: 91.91 kB / 0.8362 GB, free: 440 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.1838, allocations: 137.9 kB / 0.8364 GB, free: 280 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006796/0.1845, allocations: 242.3 kB / 0.8366 GB, free: 16 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.1845, allocations: 15.98 kB / 0.8366 GB, free: 0 / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008536/0.1853, allocations: 293.2 kB / 0.8369 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1853, allocations: 16.14 kB / 0.8369 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1853, allocations: 0 / 0.8369 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1854, allocations: 4 kB / 0.8369 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.1856, allocations: 55.95 kB / 0.837 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1857, allocations: 3.938 kB / 0.837 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1859, allocations: 43.84 kB / 0.837 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1859, allocations: 8 kB / 0.837 GB, free: 15.57 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.0001193/0.186, allocations: 129.8 kB / 0.8371 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1861, allocations: 35.75 kB / 0.8372 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008331/0.187, allocations: 287.1 kB / 0.8375 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.187, allocations: 3.938 kB / 0.8375 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.187, allocations: 0 / 0.8375 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.187, allocations: 4 kB / 0.8375 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.1874, allocations: 301.2 kB / 0.8377 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1874, allocations: 0 / 0.8377 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.1876, allocations: 55.89 kB / 0.8378 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1876, allocations: 4 kB / 0.8378 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1876, allocations: 4 kB / 0.8378 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1876, allocations: 4.281 kB / 0.8378 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1876, allocations: 0 / 0.8378 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.1885, allocations: 446.3 kB / 0.8382 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.1886, allocations: 108.9 kB / 0.8383 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.1886, allocations: 4 kB / 0.8383 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.1889, allocations: 23.97 kB / 0.8384 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.1889, allocations: 19.97 kB / 0.8384 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1889, allocations: 8 kB / 0.8384 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001782/0.1891, allocations: 190 kB / 0.8386 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1891, allocations: 0 / 0.8386 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003491/0.1895, allocations: 59.89 kB / 0.8386 GB, free: 13.82 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.001283/0.1908, allocations: 0.9883 MB / 0.8396 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007664/0.1915, allocations: 223.6 kB / 0.8398 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1915, allocations: 0 / 0.8398 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.1919, allocations: 124.1 kB / 0.8399 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.1924, allocations: 83.34 kB / 0.84 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.1966, allocations: 2.709 MB / 0.8427 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.197, allocations: 0.7598 MB / 0.8434 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.1971, allocations: 30.28 kB / 0.8434 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.1972, allocations: 83.41 kB / 0.8435 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.1972, allocations: 0 / 0.8435 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.2286, allocations: 6.61 MB / 0.85 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.124, allocations: 4.25 kB / 0.85 GB, free: 2.281 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.123601011931896] Failed to read output from testmodel.py, exit status != 0: 8.20460721803829 8.229771372 8.049585668 Calling exit ...