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.001004/0.001004, allocations: 97.64 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.007547/0.007547, allocations: 170.1 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7577/0.7577, allocations: 132.4 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003685, allocations: 15.94 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.5978, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2135/0.8114, allocations: 174.9 MB / 0.7544 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.8219, allocations: 7.737 MB / 0.762 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007442/0.8226, allocations: 19.88 kB / 0.762 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.8234, allocations: 194.8 kB / 0.7622 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003058/0.8265, allocations: 1.14 MB / 0.7633 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.8282, allocations: 0.6653 MB / 0.764 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.8299, allocations: 1.54 MB / 0.7655 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006097/0.8306, allocations: 341.8 kB / 0.7658 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.8334, allocations: 0.7589 MB / 0.7665 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006987/0.8341, allocations: 438.4 kB / 0.7669 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.8342, allocations: 20 kB / 0.767 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.8361, allocations: 1.087 MB / 0.768 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.8363, allocations: 139.5 kB / 0.7682 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.8366, allocations: 260.5 kB / 0.7684 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.8379, allocations: 0.9697 MB / 0.7693 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8379, allocations: 0 / 0.7693 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8379, allocations: 3.938 kB / 0.7694 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.838, allocations: 0 / 0.7694 GB, free: 1.684 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.001127/0.8391, allocations: 0.7325 MB / 0.7701 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.8391, allocations: 8.031 kB / 0.7701 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009275/0.8401, allocations: 143.3 kB / 0.7702 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.8406, allocations: 387.4 kB / 0.7706 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.8407, allocations: 29 kB / 0.7706 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.8407, allocations: 36 kB / 0.7706 GB, free: 280 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007495/0.8415, allocations: 458.4 kB / 0.7711 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.8415, allocations: 0 / 0.7711 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.8415, allocations: 16 kB / 0.7711 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.8416, allocations: 8 kB / 0.7711 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.8422, allocations: 339.6 kB / 0.7714 GB, free: 15.45 MB / 0.6075 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.002163/0.8443, allocations: 2.015 MB / 0.7734 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.8448, allocations: 238.5 kB / 0.7736 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.845, allocations: 152.8 kB / 0.7738 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/0.8457, allocations: 315.2 kB / 0.7741 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.8457, allocations: 38.56 kB / 0.7741 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.794e-06/0.8457, allocations: 0 / 0.7741 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001043/0.8467, allocations: 473.2 kB / 0.7746 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.8468, allocations: 55.27 kB / 0.7746 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/0.8472, allocations: 405.9 kB / 0.775 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.8473, allocations: 29.7 kB / 0.775 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.8474, allocations: 232.2 kB / 0.7752 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.8475, allocations: 78.81 kB / 0.7753 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.8476, allocations: 25.72 kB / 0.7753 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8477, allocations: 358.7 kB / 0.7757 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.848, allocations: 115.9 kB / 0.7758 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.8483, allocations: 190.8 kB / 0.776 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.8488, allocations: 313.9 kB / 0.7763 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8488, allocations: 0 / 0.7763 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006531/0.8495, allocations: 380.7 kB / 0.7766 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.8495, allocations: 4 kB / 0.7766 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8495, allocations: 4.047 kB / 0.7767 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.8495, allocations: 7.984 kB / 0.7767 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.8498, allocations: 60.12 kB / 0.7767 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8498, allocations: 8 kB / 0.7767 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.8502, allocations: 67.44 kB / 0.7768 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.8502, allocations: 8 kB / 0.7768 GB, free: 9.59 MB / 0.6075 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.0002041/0.8504, allocations: 167.3 kB / 0.777 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.8505, allocations: 47.47 kB / 0.777 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007361/0.8513, allocations: 376.4 kB / 0.7774 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.8513, allocations: 4 kB / 0.7774 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8513, allocations: 7.922 kB / 0.7774 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.8513, allocations: 7.938 kB / 0.7774 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.8527, allocations: 0.951 MB / 0.7783 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.8528, allocations: 0 / 0.7783 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.853, allocations: 51.91 kB / 0.7784 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.853, allocations: 4 kB / 0.7784 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.853, allocations: 8 kB / 0.7784 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.8531, allocations: 8.219 kB / 0.7784 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8531, allocations: 4 kB / 0.7784 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009565/0.854, allocations: 0.6489 MB / 0.779 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.8542, allocations: 144.6 kB / 0.7792 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.8542, allocations: 8 kB / 0.7792 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.8545, allocations: 27.97 kB / 0.7792 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.8546, allocations: 19.92 kB / 0.7792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.8546, allocations: 15.94 kB / 0.7792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002825/0.8549, allocations: 287.1 kB / 0.7795 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8549, allocations: 0 / 0.7795 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004662/0.8554, allocations: 111.8 kB / 0.7796 GB, free: 6.574 MB / 0.6075 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.0003784/0.8557, allocations: 167.2 kB / 0.7798 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005881/0.8564, allocations: 303.5 kB / 0.78 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8564, allocations: 0 / 0.78 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.8566, allocations: 157.9 kB / 0.7802 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.8578, allocations: 211.6 kB / 0.7804 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.8591, allocations: 0.9879 MB / 0.7814 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.8595, allocations: 0.8236 MB / 0.7822 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000316/0.8599, allocations: 103.4 kB / 0.7823 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.273e-05/0.8599, allocations: 39.44 kB / 0.7823 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.86, allocations: 0 / 0.7823 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.01383/0.8738, allocations: 7.203 MB / 0.7893 GB, free: 12.65 MB / 0.6231 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)