Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001229/0.001229, allocations: 107.2 kB / 16.45 MB, free: 6.453 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.001345/0.001345, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.349/1.349, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.002356/0.002356, allocations: 286.7 kB / 309.1 MB, free: 3.984 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.15/1.15, allocations: 180.9 MB / 0.5333 GB, free: 13.84 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.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.002705/0.002705, allocations: 101.1 kB / 0.7342 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1761, allocations: 95.34 MB / 0.8274 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002926/0.179, allocations: 1.607 MB / 0.8289 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1807, allocations: 0.988 MB / 0.8299 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.634e-05/0.1808, allocations: 3.938 kB / 0.8299 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.1808, allocations: 7.922 kB / 0.8299 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.181, allocations: 23.78 kB / 0.8299 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.1814, allocations: 159.5 kB / 0.8301 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1815, allocations: 83.64 kB / 0.8302 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.1816, allocations: 8.266 kB / 0.8302 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1818, allocations: 39.86 kB / 0.8302 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.1819, allocations: 39.83 kB / 0.8302 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1819, allocations: 4 kB / 0.8302 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.1823, allocations: 291.6 kB / 0.8305 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.1823, allocations: 15.94 kB / 0.8305 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.1823, allocations: 27.86 kB / 0.8306 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.1826, allocations: 171.2 kB / 0.8307 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1826, allocations: 0 / 0.8307 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1826, allocations: 0 / 0.8307 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1826, allocations: 0 / 0.8307 GB, free: 6.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006082/0.1832, allocations: 418.8 kB / 0.8311 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1833, allocations: 12.03 kB / 0.8311 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.1833, allocations: 30.75 kB / 0.8312 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.1836, allocations: 40.81 kB / 0.8312 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1839, allocations: 193.8 kB / 0.8314 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1839, allocations: 4.375 kB / 0.8314 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1839, allocations: 4.375 kB / 0.8314 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1841, allocations: 61.8 kB / 0.8315 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1841, allocations: 4 kB / 0.8315 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1841, allocations: 0 / 0.8315 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1841, allocations: 3.938 kB / 0.8315 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1842, allocations: 39.97 kB / 0.8315 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.1847, allocations: 304.8 kB / 0.8318 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.1848, allocations: 62.47 kB / 0.8319 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.1849, allocations: 28.97 kB / 0.8319 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1849, allocations: 4 kB / 0.8319 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1849, allocations: 38.5 kB / 0.8319 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.185, allocations: 0 / 0.8319 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003759/0.1853, allocations: 109.6 kB / 0.832 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1854, allocations: 51.41 kB / 0.8321 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1855, allocations: 135.7 kB / 0.8322 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1855, allocations: 25.7 kB / 0.8322 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.1856, allocations: 92.14 kB / 0.8323 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.1856, allocations: 27.78 kB / 0.8323 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.1856, allocations: 17.72 kB / 0.8324 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1858, allocations: 322.8 kB / 0.8327 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.1859, allocations: 23.98 kB / 0.8327 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.1859, allocations: 27.92 kB / 0.8327 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1861, allocations: 48.83 kB / 0.8328 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1861, allocations: 0 / 0.8328 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002214/0.1863, allocations: 97.61 kB / 0.8329 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1863, allocations: 8 kB / 0.8329 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1863, allocations: 0 / 0.8329 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1863, allocations: 0 / 0.8329 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1865, allocations: 16.42 kB / 0.8329 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1865, allocations: 0 / 0.8329 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.1865, allocations: 4 kB / 0.8329 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1865, allocations: 3.938 kB / 0.8329 GB, free: 3.961 MB / 0.5762 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.936e-05/0.1866, allocations: 128.5 kB / 0.833 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.1867, allocations: 11.95 kB / 0.833 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.1869, allocations: 97.97 kB / 0.8331 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1869, allocations: 4 kB / 0.8331 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1869, allocations: 0 / 0.8331 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1869, allocations: 3.984 kB / 0.8331 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1871, allocations: 185.5 kB / 0.8333 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1871, allocations: 4 kB / 0.8333 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.1872, allocations: 15.92 kB / 0.8333 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1872, allocations: 0 / 0.8333 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1872, allocations: 8 kB / 0.8333 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1872, allocations: 3.938 kB / 0.8333 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1872, allocations: 0 / 0.8333 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1875, allocations: 187.4 kB / 0.8335 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.1876, allocations: 85.06 kB / 0.8336 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1876, allocations: 0 / 0.8336 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.1877, allocations: 11.98 kB / 0.8336 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1877, allocations: 4 kB / 0.8336 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1877, allocations: 4 kB / 0.8336 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.279e-05/0.1878, allocations: 101 kB / 0.8337 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1878, allocations: 0 / 0.8337 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002383/0.188, allocations: 27.94 kB / 0.8337 GB, free: 2.996 MB / 0.5762 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.0006407/0.1887, allocations: 0.7383 MB / 0.8345 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1889, allocations: 56.14 kB / 0.8345 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1889, allocations: 0 / 0.8345 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.189, allocations: 32.05 kB / 0.8345 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1893, allocations: 20.11 kB / 0.8346 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.191, allocations: 1.485 MB / 0.836 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1914, allocations: 0.6885 MB / 0.8367 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.462e-05/0.1914, allocations: 11.98 kB / 0.8367 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.1915, allocations: 27.31 kB / 0.8367 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.1915, allocations: 0 / 0.8367 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.2173, allocations: 2.387 MB / 0.839 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.967, allocations: 11.52 kB / 0.8391 GB, free: 13.57 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.870625413954258] Failed to read output from testmodel.py, exit status != 0: 8.044348916970193 8.058122641 7.872700985 Calling exit ...