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.0007789/0.0007789, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008021/0.0008021, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8697/0.8697, allocations: 177.1 MB / 203.5 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.001635/0.001635, allocations: 237.8 kB / 260.2 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.6984/0.6984, allocations: 138.4 MB / 455.1 MB, free: 29.98 MB / 410.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: translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.828e-06/3.828e-06, allocations: 3.984 kB / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.108e-05/4.491e-05, allocations: 5.234 kB / 0.6475 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4178/0.4178, allocations: 158.4 MB / 0.8022 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005832/0.4236, allocations: 7.179 MB / 0.8092 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.424, allocations: 27.75 kB / 0.8092 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.4245, allocations: 254.1 kB / 0.8095 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.4265, allocations: 1.267 MB / 0.8107 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.4277, allocations: 0.7888 MB / 0.8115 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.4284, allocations: 1.08 MB / 0.8126 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.4288, allocations: 333.5 kB / 0.8129 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.4304, allocations: 1.008 MB / 0.8139 GB, free: 308 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.4308, allocations: 398.9 kB / 0.8142 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.4308, allocations: 36 kB / 0.8143 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009632/0.4318, allocations: 0.8023 MB / 0.8151 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.4319, allocations: 176.1 kB / 0.8152 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.432, allocations: 167.6 kB / 0.8154 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.433, allocations: 0.9581 MB / 0.8163 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.433, allocations: 4 kB / 0.8163 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.475e-06/0.433, allocations: 0 / 0.8163 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.433, allocations: 0 / 0.8163 GB, free: 13.77 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.0009404/0.434, allocations: 0.7399 MB / 0.817 GB, free: 13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.434, allocations: 10.5 kB / 0.8171 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.4346, allocations: 155.5 kB / 0.8172 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.435, allocations: 340.4 kB / 0.8175 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.435, allocations: 29 kB / 0.8176 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.4351, allocations: 40 kB / 0.8176 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/0.4355, allocations: 450.4 kB / 0.818 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4355, allocations: 3.844 kB / 0.818 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.4356, allocations: 20 kB / 0.818 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4356, allocations: 8 kB / 0.8181 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.4359, allocations: 323.6 kB / 0.8184 GB, free: 11.61 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.001244/0.4372, allocations: 1.396 MB / 0.8197 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.4374, allocations: 224.7 kB / 0.8199 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.4376, allocations: 132.8 kB / 0.8201 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.4378, allocations: 84.34 kB / 0.8201 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.4378, allocations: 35.69 kB / 0.8202 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.4378, allocations: 0 / 0.8202 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.0006064/0.4385, allocations: 461.9 kB / 0.8206 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.4385, allocations: 55.41 kB / 0.8207 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.4387, allocations: 272.6 kB / 0.8209 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.4387, allocations: 29.7 kB / 0.821 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.4388, allocations: 248.2 kB / 0.8212 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.4389, allocations: 87.27 kB / 0.8213 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.4389, allocations: 57.7 kB / 0.8213 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.439, allocations: 338.8 kB / 0.8217 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.4391, allocations: 115.9 kB / 0.8218 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.4393, allocations: 259.8 kB / 0.822 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.4396, allocations: 294.7 kB / 0.8223 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4396, allocations: 4 kB / 0.8223 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003662/0.44, allocations: 366.9 kB / 0.8227 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.44, allocations: 4 kB / 0.8227 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.44, allocations: 5.094 kB / 0.8227 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.44, allocations: 4 kB / 0.8227 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.4402, allocations: 60.12 kB / 0.8227 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4402, allocations: 5.375 kB / 0.8227 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.4404, allocations: 27.81 kB / 0.8228 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.4405, allocations: 16 kB / 0.8228 GB, free: 6.898 MB / 0.6511 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.0001245/0.4406, allocations: 166.4 kB / 0.8229 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.4406, allocations: 39.7 kB / 0.823 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.441, allocations: 356.5 kB / 0.8233 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.441, allocations: 4 kB / 0.8233 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.441, allocations: 7.938 kB / 0.8233 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.441, allocations: 3.984 kB / 0.8233 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008195/0.4419, allocations: 0.832 MB / 0.8241 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4419, allocations: 4 kB / 0.8241 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.442, allocations: 52.12 kB / 0.8242 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.442, allocations: 3.281 kB / 0.8242 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.442, allocations: 8 kB / 0.8242 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.442, allocations: 4 kB / 0.8242 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.442, allocations: 4 kB / 0.8242 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.4426, allocations: 0.6255 MB / 0.8248 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.4427, allocations: 63.7 kB / 0.8249 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.4427, allocations: 12.06 kB / 0.8249 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.4428, allocations: 10.38 kB / 0.8249 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.4428, allocations: 23.84 kB / 0.8249 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.4428, allocations: 16.03 kB / 0.8249 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001113/0.4429, allocations: 191.1 kB / 0.8251 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.4429, allocations: 0 / 0.8251 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002944/0.4432, allocations: 123.7 kB / 0.8252 GB, free: 4.273 MB / 0.6511 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.0002428/0.4435, allocations: 160.9 kB / 0.8254 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.4438, allocations: 275.5 kB / 0.8257 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4438, allocations: 0 / 0.8257 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.444, allocations: 144.7 kB / 0.8258 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.4445, allocations: 133 kB / 0.8259 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008833/0.4453, allocations: 0.8044 MB / 0.8267 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.4455, allocations: 231.4 kB / 0.8269 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.4456, allocations: 32.5 kB / 0.827 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/0.4456, allocations: 0 / 0.827 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of Templates: time 0.005856/0.4514, allocations: 5.907 MB / 0.8327 GB, free: 12.62 MB / 0.6667 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.405103106051683] Failed to read output from testmodel.py, exit status != 0: 0.45897845178842545 0.46525020799999994 0.030554501 Calling exit ...