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.005923/0.005923, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001271/0.001271, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8418/0.8418, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 59.72 kB / 0.5814 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1713, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6219/0.7933, allocations: 179.4 MB / 0.8349 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009516/0.8028, allocations: 7.829 MB / 0.8425 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008145/0.8037, allocations: 16.81 kB / 0.8425 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008228/0.8045, allocations: 243.4 kB / 0.8428 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003754/0.8083, allocations: 1.271 MB / 0.844 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.8108, allocations: 0.7354 MB / 0.8447 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.8124, allocations: 1.083 MB / 0.8458 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.813, allocations: 405.5 kB / 0.8462 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.8154, allocations: 0.8514 MB / 0.847 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.816, allocations: 444.3 kB / 0.8474 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.8161, allocations: 37.06 kB / 0.8475 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.8179, allocations: 0.9553 MB / 0.8484 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.818, allocations: 157.3 kB / 0.8486 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.8183, allocations: 243.3 kB / 0.8488 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.8196, allocations: 0.946 MB / 0.8497 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8196, allocations: 0 / 0.8497 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8196, allocations: 0 / 0.8497 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.8196, allocations: 0 / 0.8497 GB, free: 0.875 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.001091/0.8207, allocations: 0.8077 MB / 0.8505 GB, free: 196 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.8208, allocations: 6.844 kB / 0.8505 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008962/0.8217, allocations: 149.2 kB / 0.8506 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.8223, allocations: 406.5 kB / 0.851 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.8223, allocations: 29.91 kB / 0.8511 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.8224, allocations: 35.03 kB / 0.8511 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.8231, allocations: 450.1 kB / 0.8515 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.8231, allocations: 3.938 kB / 0.8515 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.8232, allocations: 20.75 kB / 0.8515 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.8232, allocations: 7.75 kB / 0.8516 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005674/0.8238, allocations: 323.1 kB / 0.8519 GB, free: 15.29 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.002058/0.8258, allocations: 2.012 MB / 0.8538 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.8263, allocations: 239.7 kB / 0.8541 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.8265, allocations: 148.3 kB / 0.8542 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/0.8271, allocations: 312.1 kB / 0.8545 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.8271, allocations: 34.55 kB / 0.8545 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=24): time 1.774e-06/0.8271, allocations: 0 / 0.8545 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.0009775/0.8281, allocations: 453.5 kB / 0.855 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.8282, allocations: 58.22 kB / 0.855 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.8285, allocations: 395.9 kB / 0.8554 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.8286, allocations: 29.7 kB / 0.8554 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.8287, allocations: 233.8 kB / 0.8556 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.575e-05/0.8288, allocations: 76.38 kB / 0.8557 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.8289, allocations: 60.03 kB / 0.8558 GB, free: 12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8291, allocations: 353.6 kB / 0.8561 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.8293, allocations: 114.4 kB / 0.8562 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.8296, allocations: 184.3 kB / 0.8564 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.83, allocations: 301.2 kB / 0.8567 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8301, allocations: 6.594 kB / 0.8567 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005875/0.8307, allocations: 362.2 kB / 0.857 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.8307, allocations: 8.859 kB / 0.857 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.8307, allocations: 2.312 kB / 0.857 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8307, allocations: 6.875 kB / 0.8571 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.831, allocations: 60.75 kB / 0.8571 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.831, allocations: 6.75 kB / 0.8571 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.8313, allocations: 44.55 kB / 0.8572 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.8313, allocations: 10.16 kB / 0.8572 GB, free: 11.02 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.0001731/0.8315, allocations: 171.6 kB / 0.8573 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.8316, allocations: 37.19 kB / 0.8574 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/0.8323, allocations: 370.8 kB / 0.8577 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8323, allocations: 6.625 kB / 0.8577 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8323, allocations: 2.719 kB / 0.8577 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8323, allocations: 3.984 kB / 0.8577 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.8337, allocations: 0.9407 MB / 0.8587 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8337, allocations: 0 / 0.8587 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.834, allocations: 47.86 kB / 0.8587 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.834, allocations: 4 kB / 0.8587 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.834, allocations: 11.98 kB / 0.8587 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.834, allocations: 4 kB / 0.8587 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.834, allocations: 3.938 kB / 0.8587 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009049/0.8349, allocations: 0.6298 MB / 0.8593 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.8351, allocations: 144.5 kB / 0.8595 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.8352, allocations: 4 kB / 0.8595 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.8354, allocations: 16.86 kB / 0.8595 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.8355, allocations: 27.77 kB / 0.8595 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.8355, allocations: 8 kB / 0.8595 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002732/0.8358, allocations: 291.2 kB / 0.8598 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8358, allocations: 0 / 0.8598 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004583/0.8362, allocations: 111.8 kB / 0.8599 GB, free: 8.316 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.0003989/0.8366, allocations: 176.1 kB / 0.8601 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005818/0.8372, allocations: 283.7 kB / 0.8604 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8372, allocations: 0 / 0.8604 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.8375, allocations: 151.8 kB / 0.8605 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009863/0.8385, allocations: 230.7 kB / 0.8607 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.8398, allocations: 0.8083 MB / 0.8615 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.8403, allocations: 0.8233 MB / 0.8623 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003039/0.8406, allocations: 99.41 kB / 0.8624 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/0.8407, allocations: 35.44 kB / 0.8624 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.8407, allocations: 0 / 0.8624 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.01353/0.8542, allocations: 7.656 MB / 0.8699 GB, free: 14.12 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)