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.001043/0.001043, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008204/0.008204, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9816/0.9816, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.000378, allocations: 9.25 kB / 0.5076 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1845, allocations: 82.31 MB / 0.588 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5032/0.6877, allocations: 174.8 MB / 0.7587 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00877/0.6966, allocations: 7.747 MB / 0.7663 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005982/0.6972, allocations: 23.88 kB / 0.7663 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.6979, allocations: 186.8 kB / 0.7665 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.7016, allocations: 1.136 MB / 0.7676 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.7036, allocations: 0.6679 MB / 0.7682 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.7054, allocations: 1.544 MB / 0.7697 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00056/0.7059, allocations: 336.2 kB / 0.7701 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.7085, allocations: 0.767 MB / 0.7708 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006923/0.7092, allocations: 442.3 kB / 0.7712 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.7092, allocations: 20 kB / 0.7712 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.7111, allocations: 1.091 MB / 0.7723 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.7113, allocations: 143.6 kB / 0.7725 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.7115, allocations: 256.5 kB / 0.7727 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.7129, allocations: 0.9658 MB / 0.7736 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7129, allocations: 0 / 0.7736 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7129, allocations: 0 / 0.7736 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7129, allocations: 0 / 0.7736 GB, free: 14.28 MB / 0.5919 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.001211/0.7142, allocations: 0.7246 MB / 0.7743 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.7142, allocations: 8.031 kB / 0.7744 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009843/0.7152, allocations: 155.2 kB / 0.7745 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.7158, allocations: 387.3 kB / 0.7749 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.7158, allocations: 30.56 kB / 0.7749 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.7159, allocations: 36 kB / 0.7749 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008142/0.7167, allocations: 454.4 kB / 0.7754 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.7168, allocations: 3.938 kB / 0.7754 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.7168, allocations: 16 kB / 0.7754 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.7168, allocations: 8 kB / 0.7754 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.7175, allocations: 331.8 kB / 0.7757 GB, free: 12.06 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.002335/0.7198, allocations: 2.023 MB / 0.7777 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.7203, allocations: 246.4 kB / 0.7779 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.7206, allocations: 159 kB / 0.7781 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/0.7212, allocations: 315.2 kB / 0.7784 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.7213, allocations: 42.55 kB / 0.7784 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 3.366e-06/0.7213, allocations: 0 / 0.7784 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001153/0.7224, allocations: 464 kB / 0.7789 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.7225, allocations: 55.27 kB / 0.7789 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.723, allocations: 405.8 kB / 0.7793 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.723, allocations: 29.7 kB / 0.7793 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.7232, allocations: 224.3 kB / 0.7795 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.7233, allocations: 86.73 kB / 0.7796 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.7233, allocations: 29.7 kB / 0.7797 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7235, allocations: 358.7 kB / 0.78 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.7237, allocations: 111.9 kB / 0.7801 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.724, allocations: 187.3 kB / 0.7803 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.7246, allocations: 317.9 kB / 0.7806 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7246, allocations: 0 / 0.7806 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006687/0.7253, allocations: 372.8 kB / 0.7809 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7253, allocations: 7.938 kB / 0.7809 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.7253, allocations: 4 kB / 0.7809 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.7253, allocations: 8.688 kB / 0.781 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.7256, allocations: 60.19 kB / 0.781 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.7256, allocations: 7.938 kB / 0.781 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.726, allocations: 59.5 kB / 0.7811 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.726, allocations: 9.328 kB / 0.7811 GB, free: 6.203 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.0001946/0.7262, allocations: 178.8 kB / 0.7813 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.7263, allocations: 39.53 kB / 0.7813 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007253/0.727, allocations: 377.4 kB / 0.7817 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.727, allocations: 8 kB / 0.7817 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.727, allocations: 0 / 0.7817 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.727, allocations: 3.938 kB / 0.7817 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.7285, allocations: 0.9487 MB / 0.7826 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7286, allocations: 0 / 0.7826 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.7288, allocations: 51.91 kB / 0.7826 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7288, allocations: 4.219 kB / 0.7826 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.7288, allocations: 12 kB / 0.7827 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.7289, allocations: 3.938 kB / 0.7827 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7289, allocations: 4 kB / 0.7827 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009769/0.7298, allocations: 0.6489 MB / 0.7833 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.73, allocations: 144.5 kB / 0.7834 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.7301, allocations: 4 kB / 0.7834 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.7303, allocations: 27.97 kB / 0.7835 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.7304, allocations: 28.03 kB / 0.7835 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.7304, allocations: 4 kB / 0.7835 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002637/0.7307, allocations: 283.1 kB / 0.7838 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7307, allocations: 0 / 0.7838 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004718/0.7312, allocations: 111.8 kB / 0.7839 GB, free: 3.199 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.0003928/0.7316, allocations: 182.2 kB / 0.784 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005997/0.7322, allocations: 295.5 kB / 0.7843 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7322, allocations: 4.375 kB / 0.7843 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.7326, allocations: 159.7 kB / 0.7845 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.7339, allocations: 204.5 kB / 0.7847 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.7354, allocations: 0.9817 MB / 0.7856 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.7358, allocations: 0.8352 MB / 0.7865 GB, free: 492 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003164/0.7362, allocations: 92.05 kB / 0.7865 GB, free: 396 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.7363, allocations: 35.44 kB / 0.7866 GB, free: 360 kB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.7363, allocations: 0 / 0.7866 GB, free: 360 kB / 0.5919 GB Notification: Performance of Templates: time 0.01347/0.7498, allocations: 7.198 MB / 0.7936 GB, free: 9.289 MB / 0.6075 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)