Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001655/0.001655, allocations: 111.5 kB / 16.41 MB, free: 6.492 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.001957/0.001957, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.778/0.778, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.66 kB / 0.582 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1643, allocations: 80.21 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6448/0.8092, allocations: 179.4 MB / 0.8355 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.8205, allocations: 7.827 MB / 0.8432 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008129/0.8214, allocations: 20.12 kB / 0.8432 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009271/0.8223, allocations: 241.5 kB / 0.8434 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.826, allocations: 1.225 MB / 0.8446 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.8282, allocations: 0.7199 MB / 0.8453 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.8299, allocations: 1.08 MB / 0.8464 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008325/0.8307, allocations: 416.3 kB / 0.8468 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.8336, allocations: 0.837 MB / 0.8476 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009744/0.8346, allocations: 436.6 kB / 0.848 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.8347, allocations: 37.75 kB / 0.8481 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.8369, allocations: 0.9553 MB / 0.849 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.8372, allocations: 159.5 kB / 0.8491 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.8376, allocations: 239 kB / 0.8494 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.8397, allocations: 0.9461 MB / 0.8503 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8397, allocations: 0 / 0.8503 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8397, allocations: 0 / 0.8503 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.701e-05/0.8397, allocations: 0 / 0.8503 GB, free: 0.9336 MB / 0.6075 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.001739/0.8415, allocations: 0.8071 MB / 0.8511 GB, free: 256 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.8415, allocations: 10.09 kB / 0.8511 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.8426, allocations: 146.2 kB / 0.8512 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.8433, allocations: 402.3 kB / 0.8516 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.8433, allocations: 34.81 kB / 0.8516 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.8434, allocations: 37.06 kB / 0.8517 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.8442, allocations: 443.6 kB / 0.8521 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.8442, allocations: 3.938 kB / 0.8521 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.8443, allocations: 21.25 kB / 0.8521 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.8443, allocations: 10.28 kB / 0.8521 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.8449, allocations: 323.9 kB / 0.8524 GB, free: 15.35 MB / 0.6231 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.002284/0.8472, allocations: 2.008 MB / 0.8544 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.8476, allocations: 235.7 kB / 0.8546 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.8479, allocations: 153.5 kB / 0.8548 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006001/0.8485, allocations: 299.9 kB / 0.8551 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.8486, allocations: 37.56 kB / 0.8551 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.8486, allocations: 0 / 0.8551 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.001044/0.8496, allocations: 457.5 kB / 0.8555 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.8497, allocations: 53.47 kB / 0.8556 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.8501, allocations: 398.5 kB / 0.856 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.8502, allocations: 31.8 kB / 0.856 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.8504, allocations: 235.1 kB / 0.8562 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.8504, allocations: 73.12 kB / 0.8563 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.8506, allocations: 70.44 kB / 0.8564 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8507, allocations: 350.4 kB / 0.8567 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.851, allocations: 109.5 kB / 0.8568 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.8513, allocations: 187.6 kB / 0.857 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.8518, allocations: 308.3 kB / 0.8573 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8518, allocations: 0 / 0.8573 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006904/0.8525, allocations: 360.9 kB / 0.8576 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.8525, allocations: 11.25 kB / 0.8576 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.8526, allocations: 7.891 kB / 0.8576 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.8526, allocations: 10.25 kB / 0.8576 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.8529, allocations: 57.28 kB / 0.8577 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.8529, allocations: 2.938 kB / 0.8577 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.8532, allocations: 43.77 kB / 0.8577 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.8532, allocations: 13.97 kB / 0.8578 GB, free: 11.08 MB / 0.6231 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.0001983/0.8534, allocations: 165.3 kB / 0.8579 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.8535, allocations: 40.06 kB / 0.8579 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/0.8543, allocations: 375.7 kB / 0.8583 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.8543, allocations: 2.344 kB / 0.8583 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.8543, allocations: 0 / 0.8583 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.8543, allocations: 3.984 kB / 0.8583 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.8557, allocations: 0.9374 MB / 0.8592 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8557, allocations: 4 kB / 0.8592 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.856, allocations: 47.86 kB / 0.8593 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.856, allocations: 4 kB / 0.8593 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.856, allocations: 11.98 kB / 0.8593 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.8561, allocations: 8.219 kB / 0.8593 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8561, allocations: 0 / 0.8593 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009524/0.857, allocations: 0.6252 MB / 0.8599 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.8572, allocations: 148.6 kB / 0.8601 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.8573, allocations: 8 kB / 0.8601 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.8575, allocations: 11.98 kB / 0.8601 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.8576, allocations: 31.92 kB / 0.8601 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.8576, allocations: 16 kB / 0.8601 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002965/0.8579, allocations: 279.1 kB / 0.8604 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8579, allocations: 0 / 0.8604 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005502/0.8585, allocations: 119.8 kB / 0.8605 GB, free: 8.387 MB / 0.6231 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.0005221/0.859, allocations: 172 kB / 0.8607 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006164/0.8596, allocations: 279.7 kB / 0.8609 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8597, allocations: 3.938 kB / 0.8609 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.8599, allocations: 148.7 kB / 0.8611 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.8611, allocations: 230.7 kB / 0.8613 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.8624, allocations: 0.8373 MB / 0.8621 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.8628, allocations: 0.8272 MB / 0.8629 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.863, allocations: 39.44 kB / 0.863 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.863, allocations: 4 kB / 0.863 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of Templates: time 0.0113/0.8743, allocations: 6.835 MB / 0.8696 GB, free: 15.04 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)