Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 116.8 kB / 17.06 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 192 kB / 17.99 MB, free: 4.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7124/0.7124, allocations: 115.3 MB / 407.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 62.33 kB / 0.5582 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1636, allocations: 76.17 MB / 0.6326 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6789/0.8426, allocations: 179.4 MB / 0.8078 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.8534, allocations: 7.837 MB / 0.8154 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.8546, allocations: 20.53 kB / 0.8155 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.8557, allocations: 243.1 kB / 0.8157 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004655/0.8604, allocations: 1.22 MB / 0.8169 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.863, allocations: 0.7318 MB / 0.8176 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.8649, allocations: 1.083 MB / 0.8187 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009163/0.8658, allocations: 396.3 kB / 0.819 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.869, allocations: 0.8385 MB / 0.8198 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.87, allocations: 435.7 kB / 0.8203 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.8702, allocations: 37.41 kB / 0.8203 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.8725, allocations: 0.9489 MB / 0.8212 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.8728, allocations: 157.8 kB / 0.8214 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.8733, allocations: 248.4 kB / 0.8216 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.8758, allocations: 0.941 MB / 0.8225 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.8758, allocations: 0 / 0.8225 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8758, allocations: 0 / 0.8225 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.048e-05/0.8758, allocations: 0 / 0.8225 GB, free: 7.684 MB / 0.5919 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.001765/0.8776, allocations: 0.808 MB / 0.8233 GB, free: 7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.8777, allocations: 9.75 kB / 0.8233 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.8788, allocations: 152.9 kB / 0.8235 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.8795, allocations: 406.9 kB / 0.8239 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.8795, allocations: 28.75 kB / 0.8239 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.8796, allocations: 37.19 kB / 0.8239 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/0.8804, allocations: 450.1 kB / 0.8244 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.8804, allocations: 0 / 0.8244 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.8805, allocations: 14.78 kB / 0.8244 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.8805, allocations: 13.88 kB / 0.8244 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.8811, allocations: 321.8 kB / 0.8247 GB, free: 6.105 MB / 0.5919 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.002391/0.8835, allocations: 2.013 MB / 0.8267 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.884, allocations: 242.7 kB / 0.8269 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.8842, allocations: 148.2 kB / 0.827 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/0.8848, allocations: 303.7 kB / 0.8273 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.8849, allocations: 40.97 kB / 0.8274 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.8849, allocations: 0 / 0.8274 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001061/0.886, allocations: 454.2 kB / 0.8278 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.886, allocations: 53.72 kB / 0.8278 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.8865, allocations: 400.4 kB / 0.8282 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.8865, allocations: 33.7 kB / 0.8283 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.8867, allocations: 229.4 kB / 0.8285 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.8867, allocations: 80.88 kB / 0.8286 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.817e-05/0.8868, allocations: 55.95 kB / 0.8286 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.887, allocations: 352.6 kB / 0.8289 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.8872, allocations: 113.9 kB / 0.829 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.8875, allocations: 187.8 kB / 0.8292 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.8881, allocations: 303.2 kB / 0.8295 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.8881, allocations: 0.75 kB / 0.8295 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006644/0.8888, allocations: 369.2 kB / 0.8299 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.8888, allocations: 7.031 kB / 0.8299 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.8888, allocations: 7.078 kB / 0.8299 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.8888, allocations: 6.656 kB / 0.8299 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.8891, allocations: 56.53 kB / 0.8299 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.8892, allocations: 2.812 kB / 0.8299 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.8895, allocations: 48.17 kB / 0.83 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.8895, allocations: 14.31 kB / 0.83 GB, free: 1.855 MB / 0.5919 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.0002046/0.8897, allocations: 172 kB / 0.8302 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.8898, allocations: 39.03 kB / 0.8302 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000717/0.8905, allocations: 367.9 kB / 0.8306 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.8906, allocations: 2.625 kB / 0.8306 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8906, allocations: 0 / 0.8306 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8906, allocations: 3.984 kB / 0.8306 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.892, allocations: 0.9402 MB / 0.8315 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8921, allocations: 2.781 kB / 0.8315 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.8923, allocations: 47.05 kB / 0.8315 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.8923, allocations: 5.25 kB / 0.8315 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.8924, allocations: 14.48 kB / 0.8315 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.8924, allocations: 3.641 kB / 0.8316 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8924, allocations: 2 kB / 0.8316 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.8934, allocations: 0.6271 MB / 0.8322 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.8936, allocations: 158.9 kB / 0.8323 GB, free: 152 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.8936, allocations: 13.14 kB / 0.8323 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.8939, allocations: 16.75 kB / 0.8323 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.894, allocations: 17.61 kB / 0.8324 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.894, allocations: 11.78 kB / 0.8324 GB, free: 120 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000333/0.8943, allocations: 278.6 kB / 0.8326 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8943, allocations: 0 / 0.8326 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005199/0.8948, allocations: 118.1 kB / 0.8328 GB, free: 15.92 MB / 0.6075 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.0004615/0.8953, allocations: 174.2 kB / 0.8329 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006077/0.8959, allocations: 287.3 kB / 0.8332 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.896, allocations: 3.219 kB / 0.8332 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.8962, allocations: 152.1 kB / 0.8333 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.8973, allocations: 226.9 kB / 0.8336 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.8988, allocations: 0.8344 MB / 0.8344 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.8993, allocations: 0.828 MB / 0.8352 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.8994, allocations: 39.41 kB / 0.8352 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.8994, allocations: 0 / 0.8352 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of Templates: time 0.01277/0.9122, allocations: 6.79 MB / 0.8419 GB, free: 10.62 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)