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.00123/0.00123, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001453/0.001453, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.988 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.002436/0.002436, allocations: 286.7 kB / 312.7 MB, free: 2.637 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.149/1.149, allocations: 180.6 MB / 0.5369 GB, free: 14.65 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.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.002764/0.002764, allocations: 101.8 kB / 0.7395 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1575, allocations: 95.37 MB / 0.8326 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002687/0.1601, allocations: 1.589 MB / 0.8342 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1617, allocations: 0.9257 MB / 0.8351 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.1617, allocations: 0 / 0.8351 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.1618, allocations: 3.938 kB / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.1619, allocations: 27.72 kB / 0.8351 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1623, allocations: 160.2 kB / 0.8353 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1625, allocations: 83.64 kB / 0.8354 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.1626, allocations: 4.281 kB / 0.8354 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1627, allocations: 47.84 kB / 0.8354 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.616e-05/0.1628, allocations: 35.78 kB / 0.8354 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1628, allocations: 4 kB / 0.8354 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.1632, allocations: 271.6 kB / 0.8357 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.1632, allocations: 15.92 kB / 0.8357 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.1632, allocations: 23.86 kB / 0.8357 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1635, allocations: 167.4 kB / 0.8359 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1635, allocations: 0 / 0.8359 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1635, allocations: 0 / 0.8359 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.1635, allocations: 0 / 0.8359 GB, free: 4.938 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.0005617/0.1641, allocations: 337.7 kB / 0.8362 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1641, allocations: 13.34 kB / 0.8362 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.1641, allocations: 34.69 kB / 0.8363 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.1644, allocations: 32.86 kB / 0.8363 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1646, allocations: 137 kB / 0.8364 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1646, allocations: 8.359 kB / 0.8364 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1646, allocations: 8.312 kB / 0.8364 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1648, allocations: 65.78 kB / 0.8365 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1648, allocations: 0 / 0.8365 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1648, allocations: 0 / 0.8365 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1648, allocations: 4 kB / 0.8365 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.165, allocations: 43.97 kB / 0.8366 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.1654, allocations: 259.9 kB / 0.8368 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1655, allocations: 58.47 kB / 0.8369 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/0.1656, allocations: 32.97 kB / 0.8369 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1656, allocations: 0 / 0.8369 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1656, allocations: 34.56 kB / 0.8369 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.1656, allocations: 4 kB / 0.8369 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.000334/0.166, allocations: 105.5 kB / 0.837 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.166, allocations: 55.34 kB / 0.8371 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1661, allocations: 138.1 kB / 0.8372 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1662, allocations: 25.7 kB / 0.8372 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.1662, allocations: 92.14 kB / 0.8373 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.1662, allocations: 23.8 kB / 0.8373 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.1663, allocations: 21.7 kB / 0.8374 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1664, allocations: 322.8 kB / 0.8377 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.1665, allocations: 27.98 kB / 0.8377 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.1666, allocations: 24.23 kB / 0.8377 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1667, allocations: 56.83 kB / 0.8378 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1667, allocations: 0 / 0.8378 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002047/0.1669, allocations: 85.62 kB / 0.8379 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1669, allocations: 11.92 kB / 0.8379 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1669, allocations: 0 / 0.8379 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1669, allocations: 4 kB / 0.8379 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.167, allocations: 15.98 kB / 0.8379 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1671, allocations: 0 / 0.8379 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.1671, allocations: 4 kB / 0.8379 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1671, allocations: 0 / 0.8379 GB, free: 2.699 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.75e-05/0.1672, allocations: 122.4 kB / 0.838 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.1672, allocations: 7.953 kB / 0.838 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.1675, allocations: 110 kB / 0.8381 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1675, allocations: 0 / 0.8381 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1675, allocations: 0 / 0.8381 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1675, allocations: 0 / 0.8381 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1677, allocations: 156.7 kB / 0.8383 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1677, allocations: 0 / 0.8383 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.127e-05/0.1678, allocations: 15.98 kB / 0.8383 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1678, allocations: 0 / 0.8383 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1678, allocations: 0 / 0.8383 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1678, allocations: 256 / 0.8383 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1678, allocations: 0 / 0.8383 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.168, allocations: 203.4 kB / 0.8385 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.1681, allocations: 7.953 kB / 0.8385 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1681, allocations: 0 / 0.8385 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.1682, allocations: 7.984 kB / 0.8385 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1682, allocations: 11.92 kB / 0.8385 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1682, allocations: 4 kB / 0.8385 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.638e-05/0.1683, allocations: 97.84 kB / 0.8386 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1683, allocations: 0 / 0.8386 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002346/0.1685, allocations: 27.94 kB / 0.8386 GB, free: 1.859 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.0006358/0.1692, allocations: 0.7357 MB / 0.8394 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1694, allocations: 55.91 kB / 0.8394 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.1694, allocations: 0 / 0.8394 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.1694, allocations: 23.98 kB / 0.8394 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.1697, allocations: 20.64 kB / 0.8395 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1714, allocations: 1.485 MB / 0.8409 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.848e-05/0.1715, allocations: 75.58 kB / 0.841 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.192e-05/0.1715, allocations: 11.98 kB / 0.841 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.1716, allocations: 27.42 kB / 0.841 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1716, allocations: 3.938 kB / 0.841 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.2003, allocations: 2.943 MB / 0.8439 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.71, allocations: 5.188 kB / 0.8439 GB, free: 12.51 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.662971006240696] Failed to read output from testmodel.py, exit status != 0: 10.81674896972254 10.843327312 10.675329585 Calling exit ...