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.0008918/0.0008918, allocations: 92.62 kB / 16.67 MB, free: 6.266 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.001052/0.001052, allocations: 182.3 kB / 17.58 MB, free: 5.898 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.379/1.379, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7531/0.7531, allocations: 115.5 MB / 408.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003672, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4059, allocations: 77.51 MB / 0.5606 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1988/0.6047, allocations: 174.8 MB / 0.7313 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009239/0.614, allocations: 7.746 MB / 0.7389 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006989/0.6148, allocations: 19.88 kB / 0.7389 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006772/0.6155, allocations: 182.8 kB / 0.7391 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.6189, allocations: 1.148 MB / 0.7402 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.621, allocations: 0.6658 MB / 0.7408 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.6231, allocations: 1.544 MB / 0.7424 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008044/0.6239, allocations: 329.9 kB / 0.7427 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.6272, allocations: 0.7566 MB / 0.7434 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.6282, allocations: 450.4 kB / 0.7438 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.6284, allocations: 24 kB / 0.7439 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.6307, allocations: 1.083 MB / 0.7449 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.631, allocations: 143.5 kB / 0.7451 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.6315, allocations: 248.5 kB / 0.7453 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.6329, allocations: 0.6626 MB / 0.7459 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6329, allocations: 0 / 0.7459 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.288e-06/0.6329, allocations: 0 / 0.7459 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.221e-05/0.6329, allocations: 4 kB / 0.7459 GB, free: 4.965 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001423/0.6344, allocations: 0.7209 MB / 0.7466 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.6344, allocations: 11.97 kB / 0.7467 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.6355, allocations: 151.2 kB / 0.7468 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.6361, allocations: 387.3 kB / 0.7472 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.6362, allocations: 29 kB / 0.7472 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.6363, allocations: 36 kB / 0.7472 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008328/0.6371, allocations: 458.4 kB / 0.7477 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6371, allocations: 0 / 0.7477 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.6372, allocations: 19.94 kB / 0.7477 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.6372, allocations: 12 kB / 0.7477 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006406/0.6378, allocations: 323.8 kB / 0.748 GB, free: 2.73 MB / 0.5762 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.002317/0.6402, allocations: 2.019 MB / 0.75 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.6406, allocations: 247 kB / 0.7502 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.6409, allocations: 148.8 kB / 0.7504 GB, free: 140 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3144/0.9553, allocations: 319.5 kB / 0.7507 GB, free: 177 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.9554, allocations: 34.25 kB / 0.7507 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 2.725e-06/0.9554, allocations: 2.188 kB / 0.7507 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.001414/0.9568, allocations: 469.5 kB / 0.7511 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.9569, allocations: 54.92 kB / 0.7512 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.9574, allocations: 398.9 kB / 0.7516 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.9575, allocations: 31.17 kB / 0.7516 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.9576, allocations: 231.4 kB / 0.7518 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.9577, allocations: 83.53 kB / 0.7519 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.9578, allocations: 30.83 kB / 0.7519 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.9579, allocations: 354 kB / 0.7523 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.9582, allocations: 118.5 kB / 0.7524 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.9585, allocations: 187.9 kB / 0.7526 GB, free: 176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.9591, allocations: 317 kB / 0.7529 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.9591, allocations: 4.906 kB / 0.7529 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006923/0.9598, allocations: 377.1 kB / 0.7532 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.9598, allocations: 9.625 kB / 0.7532 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9598, allocations: 1.75 kB / 0.7532 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.9598, allocations: 3.953 kB / 0.7533 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.9602, allocations: 63.78 kB / 0.7533 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.9602, allocations: 3.266 kB / 0.7533 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.9606, allocations: 54.36 kB / 0.7534 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.9607, allocations: 16.86 kB / 0.7534 GB, free: 175.7 MB / 0.5762 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.0002348/0.9609, allocations: 168.1 kB / 0.7535 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.745e-05/0.961, allocations: 40.81 kB / 0.7536 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009118/0.9619, allocations: 383.7 kB / 0.7539 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.9619, allocations: 2.156 kB / 0.754 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.962, allocations: 2.078 kB / 0.754 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.962, allocations: 0.7969 kB / 0.754 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.9637, allocations: 0.9472 MB / 0.7549 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.9638, allocations: 2.625 kB / 0.7549 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.964, allocations: 54.97 kB / 0.7549 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.964, allocations: 3.031 kB / 0.7549 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.9641, allocations: 5.859 kB / 0.7549 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.9641, allocations: 7.688 kB / 0.755 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.9641, allocations: 11.31 kB / 0.755 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.9652, allocations: 0.6507 MB / 0.7556 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.9654, allocations: 145.6 kB / 0.7557 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.9655, allocations: 13.56 kB / 0.7557 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.9658, allocations: 22.5 kB / 0.7558 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.9659, allocations: 25.86 kB / 0.7558 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.9659, allocations: 7.609 kB / 0.7558 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003693/0.9663, allocations: 283.7 kB / 0.7561 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9663, allocations: 4.531 kB / 0.7561 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005766/0.9669, allocations: 107.6 kB / 0.7562 GB, free: 174.1 MB / 0.5762 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.0004833/0.9673, allocations: 169 kB / 0.7563 GB, free: 174 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007381/0.9681, allocations: 298.2 kB / 0.7566 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9681, allocations: 1.281 kB / 0.7566 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.9685, allocations: 154.9 kB / 0.7568 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.9698, allocations: 221.4 kB / 0.757 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.9713, allocations: 1.024 MB / 0.758 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.9717, allocations: 0.831 MB / 0.7588 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.9718, allocations: 36.84 kB / 0.7588 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.954e-06/0.9718, allocations: 0 / 0.7588 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01628/0.9881, allocations: 6.727 MB / 0.7654 GB, free: 172 MB / 0.5762 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)