Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001426/0.001426, allocations: 105.1 kB / 16.27 MB, free: 6.398 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: 191.8 kB / 17.2 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8339/0.8339, allocations: 135.1 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3261, allocations: 80.9 MB / 0.585 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5112/0.8373, allocations: 179.4 MB / 0.7602 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008569/0.846, allocations: 7.836 MB / 0.7678 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006337/0.8466, allocations: 23.5 kB / 0.7678 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.8473, allocations: 241.4 kB / 0.7681 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.8504, allocations: 1.222 MB / 0.7693 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.8523, allocations: 0.7286 MB / 0.77 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.8538, allocations: 1.081 MB / 0.771 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006913/0.8545, allocations: 408.7 kB / 0.7714 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.8568, allocations: 0.8247 MB / 0.7722 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006356/0.8574, allocations: 436.8 kB / 0.7727 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.244e-05/0.8575, allocations: 37.12 kB / 0.7727 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.8595, allocations: 0.9448 MB / 0.7736 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.8597, allocations: 160.5 kB / 0.7738 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.86, allocations: 248.5 kB / 0.774 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.8615, allocations: 0.9261 MB / 0.7749 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8616, allocations: 0.5312 kB / 0.7749 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8616, allocations: 4.125 kB / 0.7749 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.8616, allocations: 0.5312 kB / 0.7749 GB, free: 1.48 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.001553/0.8631, allocations: 0.8022 MB / 0.7757 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.8632, allocations: 11.17 kB / 0.7757 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.8644, allocations: 154.5 kB / 0.7758 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.865, allocations: 381.8 kB / 0.7762 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.8651, allocations: 30.91 kB / 0.7762 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.8652, allocations: 37.62 kB / 0.7763 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/0.8659, allocations: 445.2 kB / 0.7767 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.8659, allocations: 0 / 0.7767 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.866, allocations: 25.75 kB / 0.7767 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.866, allocations: 9.031 kB / 0.7767 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.8666, allocations: 320.3 kB / 0.777 GB, free: 16.55 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.001885/0.8685, allocations: 2.026 MB / 0.779 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.8688, allocations: 238.9 kB / 0.7792 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.8691, allocations: 148.3 kB / 0.7794 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005832/0.8697, allocations: 307.8 kB / 0.7797 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.8697, allocations: 34.62 kB / 0.7797 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.502e-06/0.8697, allocations: 4.844 kB / 0.7797 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009353/0.8706, allocations: 455.4 kB / 0.7802 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.8707, allocations: 59.2 kB / 0.7802 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.8711, allocations: 397.9 kB / 0.7806 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.8711, allocations: 31.47 kB / 0.7806 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.8712, allocations: 228 kB / 0.7808 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.8713, allocations: 91.52 kB / 0.7809 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.8714, allocations: 50.88 kB / 0.781 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8715, allocations: 353.8 kB / 0.7813 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.8718, allocations: 111.3 kB / 0.7814 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.872, allocations: 189.6 kB / 0.7816 GB, free: 14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.8725, allocations: 306 kB / 0.7819 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8725, allocations: 0.875 kB / 0.7819 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005461/0.873, allocations: 359.5 kB / 0.7822 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.8731, allocations: 8 kB / 0.7822 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.8731, allocations: 3.688 kB / 0.7822 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.8731, allocations: 3.406 kB / 0.7822 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.8734, allocations: 58.91 kB / 0.7823 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.8734, allocations: 7.5 kB / 0.7823 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.8736, allocations: 47.83 kB / 0.7824 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.8737, allocations: 13.44 kB / 0.7824 GB, free: 13.86 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.0001733/0.8738, allocations: 167.6 kB / 0.7825 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.8739, allocations: 38.66 kB / 0.7826 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/0.8745, allocations: 371.1 kB / 0.7829 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8746, allocations: 2.562 kB / 0.7829 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8746, allocations: 0.8438 kB / 0.7829 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.8746, allocations: 3.594 kB / 0.7829 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.8758, allocations: 0.939 MB / 0.7838 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.8758, allocations: 4.562 kB / 0.7838 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.876, allocations: 42.88 kB / 0.7839 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.8761, allocations: 8.156 kB / 0.7839 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.8761, allocations: 11.84 kB / 0.7839 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.8761, allocations: 3.312 kB / 0.7839 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8761, allocations: 2.469 kB / 0.7839 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008501/0.877, allocations: 0.6344 MB / 0.7845 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.8771, allocations: 147.8 kB / 0.7847 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.8772, allocations: 5.75 kB / 0.7847 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.8774, allocations: 14.84 kB / 0.7847 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.8775, allocations: 21.06 kB / 0.7847 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.8775, allocations: 8.719 kB / 0.7847 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000244/0.8777, allocations: 281.9 kB / 0.785 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8777, allocations: 1 kB / 0.785 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004871/0.8782, allocations: 119.5 kB / 0.7851 GB, free: 12.88 MB / 0.5919 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.0003706/0.8786, allocations: 182.2 kB / 0.7853 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.8792, allocations: 308.3 kB / 0.7856 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8792, allocations: 0 / 0.7856 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.8794, allocations: 151.4 kB / 0.7857 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.8805, allocations: 213.6 kB / 0.7859 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.8818, allocations: 0.8616 MB / 0.7868 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.8822, allocations: 0.8262 MB / 0.7876 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.8824, allocations: 40.25 kB / 0.7876 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/0.8824, allocations: 0.9688 kB / 0.7876 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.009555/0.8919, allocations: 6.795 MB / 0.7942 GB, free: 11.11 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)