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.001264/0.001264, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001353/0.001353, allocations: 218 kB / 22.25 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.31/1.31, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 179] 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.002612/0.002612, allocations: 282.4 kB / 312.7 MB, free: 2.789 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.107/1.107, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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.002673/0.002673, allocations: 110 kB / 0.7396 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1563, allocations: 95.38 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002649/0.159, allocations: 1.611 MB / 0.8343 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1605, allocations: 0.9996 MB / 0.8353 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.1605, allocations: 11.94 kB / 0.8353 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.1605, allocations: 11.86 kB / 0.8353 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.1607, allocations: 23.78 kB / 0.8353 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.1611, allocations: 151.6 kB / 0.8355 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1612, allocations: 79.66 kB / 0.8356 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.984e-05/0.1613, allocations: 12.27 kB / 0.8356 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1614, allocations: 43.84 kB / 0.8356 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1615, allocations: 39.78 kB / 0.8357 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1615, allocations: 4 kB / 0.8357 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.1619, allocations: 287.7 kB / 0.8359 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.1619, allocations: 11.98 kB / 0.8359 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.162, allocations: 31.8 kB / 0.836 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1622, allocations: 167.3 kB / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1622, allocations: 0 / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1622, allocations: 0 / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.1622, allocations: 4 kB / 0.8361 GB, free: 5.145 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.0005203/0.1627, allocations: 333.7 kB / 0.8365 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1628, allocations: 13.34 kB / 0.8365 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.1628, allocations: 34.75 kB / 0.8365 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.1631, allocations: 36.81 kB / 0.8365 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.1633, allocations: 142.3 kB / 0.8367 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-06/0.1633, allocations: 4.375 kB / 0.8367 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1633, allocations: 384 / 0.8367 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1634, allocations: 65.78 kB / 0.8367 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1635, allocations: 0 / 0.8367 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1635, allocations: 0 / 0.8367 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1635, allocations: 4 kB / 0.8367 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1636, allocations: 43.97 kB / 0.8368 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.164, allocations: 275.8 kB / 0.837 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.1642, allocations: 50.55 kB / 0.8371 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.121e-05/0.1642, allocations: 32.97 kB / 0.8371 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.1643, allocations: 0 / 0.8371 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1643, allocations: 34.56 kB / 0.8372 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.1643, allocations: 7.938 kB / 0.8372 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003367/0.1646, allocations: 105.5 kB / 0.8373 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1646, allocations: 51.41 kB / 0.8373 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.1648, allocations: 140.9 kB / 0.8374 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1648, allocations: 25.7 kB / 0.8375 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.1648, allocations: 100.1 kB / 0.8376 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.1649, allocations: 19.78 kB / 0.8376 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.1649, allocations: 17.72 kB / 0.8376 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.165, allocations: 330.7 kB / 0.8379 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.1651, allocations: 19.98 kB / 0.8379 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.644e-05/0.1652, allocations: 19.98 kB / 0.838 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1653, allocations: 60.83 kB / 0.838 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1653, allocations: 0 / 0.838 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001996/0.1655, allocations: 89.56 kB / 0.8381 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1656, allocations: 11.98 kB / 0.8381 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1656, allocations: 0 / 0.8381 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1656, allocations: 0 / 0.8381 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1657, allocations: 12.42 kB / 0.8381 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1657, allocations: 4 kB / 0.8381 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.1657, allocations: 4 kB / 0.8381 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1657, allocations: 4 kB / 0.8381 GB, free: 2.898 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.778e-05/0.1658, allocations: 118.4 kB / 0.8383 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.1659, allocations: 11.95 kB / 0.8383 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.1661, allocations: 102 kB / 0.8384 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1661, allocations: 0 / 0.8384 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1661, allocations: 0 / 0.8384 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1661, allocations: 7.984 kB / 0.8384 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.1663, allocations: 168.7 kB / 0.8385 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1663, allocations: 0 / 0.8385 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.1664, allocations: 12 kB / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1664, allocations: 3.984 kB / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1664, allocations: 0 / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1664, allocations: 0 / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1664, allocations: 4 kB / 0.8385 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1667, allocations: 195.3 kB / 0.8387 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.1667, allocations: 7.953 kB / 0.8387 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1667, allocations: 7.938 kB / 0.8387 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.1668, allocations: 4 kB / 0.8388 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1668, allocations: 3.984 kB / 0.8388 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1668, allocations: 4 kB / 0.8388 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.874e-05/0.1669, allocations: 102.2 kB / 0.8389 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1669, allocations: 0 / 0.8389 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002317/0.1671, allocations: 27.92 kB / 0.8389 GB, free: 2.051 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.0005881/0.1677, allocations: 0.7358 MB / 0.8396 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1679, allocations: 48.14 kB / 0.8396 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1679, allocations: 8 kB / 0.8397 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.14e-05/0.168, allocations: 28.11 kB / 0.8397 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1683, allocations: 20.05 kB / 0.8397 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1699, allocations: 1.485 MB / 0.8412 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1702, allocations: 0.6924 MB / 0.8418 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.194e-05/0.1702, allocations: 7.984 kB / 0.8418 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.1702, allocations: 23.44 kB / 0.8419 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1702, allocations: 0 / 0.8419 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.1984, allocations: 2.499 MB / 0.8443 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.889/10.09, allocations: 17.52 kB / 0.8443 GB, free: 12.51 MB / 0.5919 GB " [Timeout remaining time 650] (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: 13.899131268997735] Failed to read output from testmodel.py, exit status != 0: 10.184597022998787 10.199388633 10.034406371 Calling exit ...