Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.0008565/0.0008565, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000968/0.000968, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9034/0.9034, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 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.001489/0.001489, allocations: 240.1 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6742/0.6742, allocations: 138.4 MB / 454.3 MB, free: 1.633 MB / 362.7 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.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6463 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.441e-05, allocations: 4.25 kB / 0.6463 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1348/0.1348, allocations: 158.4 MB / 0.801 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006371/0.1412, allocations: 7.181 MB / 0.808 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005191/0.1417, allocations: 27.75 kB / 0.808 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.1424, allocations: 258 kB / 0.8083 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.1448, allocations: 1.263 MB / 0.8095 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.1463, allocations: 0.7865 MB / 0.8103 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00098/0.1473, allocations: 1.083 MB / 0.8113 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.1476, allocations: 329.9 kB / 0.8116 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.1494, allocations: 1.01 MB / 0.8126 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.1501, allocations: 406.9 kB / 0.813 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.1501, allocations: 36 kB / 0.8131 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.1513, allocations: 0.8022 MB / 0.8138 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1514, allocations: 167.5 kB / 0.814 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1516, allocations: 175.6 kB / 0.8142 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0009687/0.1525, allocations: 0.9504 MB / 0.8151 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1525, allocations: 0 / 0.8151 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1525, allocations: 3.938 kB / 0.8151 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.1525, allocations: 0 / 0.8151 GB, free: 4.207 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008227/0.1534, allocations: 0.7419 MB / 0.8158 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1534, allocations: 12.75 kB / 0.8158 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/0.1535, allocations: 82.47 kB / 0.8159 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/0.154, allocations: 147.5 kB / 0.8161 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.1545, allocations: 340.4 kB / 0.8164 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.1545, allocations: 29 kB / 0.8164 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.1545, allocations: 40 kB / 0.8164 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.155, allocations: 446.4 kB / 0.8169 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.155, allocations: 4 kB / 0.8169 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.1551, allocations: 16 kB / 0.8169 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1551, allocations: 8 kB / 0.8169 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.1554, allocations: 319.7 kB / 0.8172 GB, free: 1.961 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.1568, allocations: 1.496 MB / 0.8187 GB, free: 400 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.1571, allocations: 237.3 kB / 0.8189 GB, free: 156 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.1572, allocations: 136.8 kB / 0.819 GB, free: 16 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.1575, allocations: 75.91 kB / 0.8191 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1575, allocations: 30.56 kB / 0.8191 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/0.1575, allocations: 4 kB / 0.8191 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24): time 0.0006485/0.1582, allocations: 455.7 kB / 0.8196 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1582, allocations: 55.41 kB / 0.8196 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.1585, allocations: 397.9 kB / 0.82 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1585, allocations: 33.7 kB / 0.82 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1587, allocations: 236.5 kB / 0.8203 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.1587, allocations: 83.28 kB / 0.8203 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.1588, allocations: 57.7 kB / 0.8204 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1589, allocations: 350.8 kB / 0.8207 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.159, allocations: 111.9 kB / 0.8208 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.1592, allocations: 259.9 kB / 0.8211 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.1596, allocations: 305.9 kB / 0.8214 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1596, allocations: 3.938 kB / 0.8214 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003792/0.16, allocations: 365 kB / 0.8217 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.16, allocations: 12.22 kB / 0.8217 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.16, allocations: 3.938 kB / 0.8217 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.16, allocations: 4 kB / 0.8217 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.1602, allocations: 55.97 kB / 0.8218 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1602, allocations: 7.938 kB / 0.8218 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1603, allocations: 43.66 kB / 0.8218 GB, free: 13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.1603, allocations: 12 kB / 0.8219 GB, free: 12.98 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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.0001278/0.1605, allocations: 178.3 kB / 0.822 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.1605, allocations: 43.72 kB / 0.8221 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.1609, allocations: 366.5 kB / 0.8224 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1609, allocations: 4 kB / 0.8224 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1609, allocations: 0 / 0.8224 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1609, allocations: 0 / 0.8224 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009921/0.1619, allocations: 0.8776 MB / 0.8233 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1619, allocations: 4 kB / 0.8233 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.1621, allocations: 47.97 kB / 0.8233 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1621, allocations: 0 / 0.8233 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1621, allocations: 8 kB / 0.8233 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.1621, allocations: 11.88 kB / 0.8233 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1621, allocations: 4 kB / 0.8233 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.1626, allocations: 0.6357 MB / 0.824 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.1627, allocations: 67.67 kB / 0.824 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.1628, allocations: 15.94 kB / 0.824 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1629, allocations: 11.98 kB / 0.8241 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1629, allocations: 20 kB / 0.8241 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1629, allocations: 12 kB / 0.8241 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001769/0.1631, allocations: 279.1 kB / 0.8244 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1631, allocations: 0 / 0.8244 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003204/0.1634, allocations: 123.8 kB / 0.8245 GB, free: 10.18 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.0009706/0.1644, allocations: 1.227 MB / 0.8257 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.1648, allocations: 276.1 kB / 0.8259 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1648, allocations: 0 / 0.8259 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.1649, allocations: 143.8 kB / 0.8261 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.1656, allocations: 216.5 kB / 0.8263 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.169, allocations: 3.791 MB / 0.83 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.1692, allocations: 228 kB / 0.8302 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.1694, allocations: 99.41 kB / 0.8303 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.1695, allocations: 140.5 kB / 0.8304 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of SimCode: time 1.051e-06/0.1695, allocations: 0 / 0.8304 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.1995, allocations: 13.17 MB / 0.8433 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/7.053, allocations: 7.875 kB / 0.8433 GB, free: 7.043 MB / 0.6823 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.953906991519034] Failed to read output from testmodel.py, exit status != 0: 7.142357172444463 7.158305983 7.003103407 Calling exit ...