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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001189/0.001189, allocations: 108 kB / 16.41 MB, free: 6.5 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.001238/0.001238, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 280.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9873/0.9873, allocations: 169.2 MB / 0.499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.463, allocations: 86.97 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1861/0.6491, allocations: 179.4 MB / 0.9422 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009696/0.6588, allocations: 7.825 MB / 0.9499 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007844/0.6597, allocations: 19.88 kB / 0.9499 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000876/0.6606, allocations: 250.2 kB / 0.9501 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.664, allocations: 1.217 MB / 0.9513 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.6663, allocations: 0.7305 MB / 0.952 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.6679, allocations: 1.08 MB / 0.9531 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007923/0.6687, allocations: 405.4 kB / 0.9535 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.6715, allocations: 0.8408 MB / 0.9543 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008474/0.6724, allocations: 438.4 kB / 0.9547 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.823e-05/0.6725, allocations: 43.94 kB / 0.9548 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.6744, allocations: 0.9471 MB / 0.9557 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.6747, allocations: 155.6 kB / 0.9558 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.675, allocations: 246.8 kB / 0.9561 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.6769, allocations: 0.9427 MB / 0.957 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6769, allocations: 0 / 0.957 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.696e-06/0.6769, allocations: 0 / 0.957 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.051e-05/0.677, allocations: 3.938 kB / 0.957 GB, free: 0.7227 MB / 0.7169 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.3632/1.04, allocations: 0.7951 MB / 0.9578 GB, free: 193.2 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.04, allocations: 9.188 kB / 0.9578 GB, free: 193.2 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/1.041, allocations: 160.4 kB / 0.9579 GB, free: 193.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/1.042, allocations: 401.4 kB / 0.9583 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/1.042, allocations: 28.59 kB / 0.9584 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.488e-05/1.042, allocations: 37.22 kB / 0.9584 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000939/1.043, allocations: 445.8 kB / 0.9588 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/1.043, allocations: 0.5625 kB / 0.9588 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/1.043, allocations: 26.59 kB / 0.9588 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/1.043, allocations: 9.438 kB / 0.9588 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/1.044, allocations: 323.9 kB / 0.9592 GB, free: 192.5 MB / 0.7169 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.00235/1.046, allocations: 2.015 MB / 0.9611 GB, free: 191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/1.047, allocations: 233.1 kB / 0.9613 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/1.047, allocations: 151.2 kB / 0.9615 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/1.048, allocations: 311.4 kB / 0.9618 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/1.048, allocations: 32.92 kB / 0.9618 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 2.665e-06/1.048, allocations: 4.391 kB / 0.9618 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001057/1.049, allocations: 450.9 kB / 0.9623 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/1.049, allocations: 54.22 kB / 0.9623 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/1.049, allocations: 397.8 kB / 0.9627 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/1.049, allocations: 34.52 kB / 0.9627 GB, free: 190 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/1.05, allocations: 229.7 kB / 0.9629 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/1.05, allocations: 83.03 kB / 0.963 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/1.05, allocations: 58.27 kB / 0.9631 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/1.05, allocations: 352.8 kB / 0.9634 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/1.05, allocations: 110.2 kB / 0.9635 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/1.05, allocations: 185.6 kB / 0.9637 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/1.051, allocations: 308.8 kB / 0.964 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.051, allocations: 3.938 kB / 0.964 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006279/1.052, allocations: 366.8 kB / 0.9643 GB, free: 189 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.052, allocations: 5.781 kB / 0.9643 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.052, allocations: 6.891 kB / 0.9643 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.052, allocations: 2.781 kB / 0.9644 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/1.052, allocations: 60.33 kB / 0.9644 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.052, allocations: 3.531 kB / 0.9644 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/1.052, allocations: 40.52 kB / 0.9645 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/1.052, allocations: 10.61 kB / 0.9645 GB, free: 188.9 MB / 0.7169 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.0001568/1.052, allocations: 175.4 kB / 0.9646 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/1.052, allocations: 39.31 kB / 0.9647 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/1.053, allocations: 369.1 kB / 0.965 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.053, allocations: 2.125 kB / 0.965 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.053, allocations: 3.938 kB / 0.965 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.053, allocations: 2.438 kB / 0.965 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/1.055, allocations: 0.9361 MB / 0.9659 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.055, allocations: 1.156 kB / 0.9659 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/1.055, allocations: 48.66 kB / 0.966 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/1.055, allocations: 12.16 kB / 0.966 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/1.055, allocations: 8 kB / 0.966 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/1.055, allocations: 3.391 kB / 0.966 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.055, allocations: 8.062 kB / 0.966 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008916/1.056, allocations: 0.6279 MB / 0.9666 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/1.056, allocations: 149.2 kB / 0.9668 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/1.056, allocations: 8.953 kB / 0.9668 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/1.056, allocations: 11.62 kB / 0.9668 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/1.056, allocations: 23.14 kB / 0.9668 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/1.056, allocations: 10.92 kB / 0.9668 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000299/1.057, allocations: 282.8 kB / 0.9671 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.057, allocations: 0 / 0.9671 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005018/1.057, allocations: 112.4 kB / 0.9672 GB, free: 187.4 MB / 0.7169 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.0004321/1.058, allocations: 175.6 kB / 0.9674 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006041/1.058, allocations: 285.2 kB / 0.9676 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.058, allocations: 5.438 kB / 0.9676 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/1.059, allocations: 147.9 kB / 0.9678 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.06, allocations: 223.1 kB / 0.968 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/1.061, allocations: 0.8376 MB / 0.9688 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/1.061, allocations: 0.8289 MB / 0.9696 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/1.062, allocations: 39.28 kB / 0.9697 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/1.062, allocations: 0 / 0.9697 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.00937/1.071, allocations: 6.852 MB / 0.9764 GB, free: 180.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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)