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.001138/0.001138, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001086/0.001086, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.317/1.317, allocations: 222.9 MB / 241 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.8016/0.8016, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3671, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5581/0.9252, allocations: 179.4 MB / 0.7567 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008029/0.9332, allocations: 7.841 MB / 0.7643 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000526/0.9338, allocations: 20.06 kB / 0.7643 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000721/0.9345, allocations: 242.4 kB / 0.7646 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.9376, allocations: 1.23 MB / 0.7658 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.9394, allocations: 0.7277 MB / 0.7665 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.941, allocations: 1.078 MB / 0.7675 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000666/0.9417, allocations: 411.8 kB / 0.7679 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.9437, allocations: 0.825 MB / 0.7687 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.9443, allocations: 434.7 kB / 0.7691 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.9443, allocations: 38.53 kB / 0.7692 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.946, allocations: 0.9489 MB / 0.7701 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.9462, allocations: 161.4 kB / 0.7703 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.9465, allocations: 249.8 kB / 0.7705 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.9479, allocations: 0.9391 MB / 0.7714 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9479, allocations: 2.781 kB / 0.7714 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9479, allocations: 0.8438 kB / 0.7714 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.948, allocations: 0 / 0.7714 GB, free: 1.539 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.001118/0.9491, allocations: 0.8066 MB / 0.7722 GB, free: 17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.9491, allocations: 8.062 kB / 0.7722 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009085/0.95, allocations: 150.7 kB / 0.7724 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.9506, allocations: 406.2 kB / 0.7727 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.9507, allocations: 26.91 kB / 0.7728 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.9508, allocations: 44.53 kB / 0.7728 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006243/0.9514, allocations: 447.5 kB / 0.7732 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.9514, allocations: 3.094 kB / 0.7732 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.9515, allocations: 17.84 kB / 0.7733 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.9515, allocations: 7.375 kB / 0.7733 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005906/0.9521, allocations: 326.8 kB / 0.7736 GB, free: 16.62 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.002082/0.9542, allocations: 2.005 MB / 0.7755 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.9546, allocations: 243 kB / 0.7758 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.9548, allocations: 148.5 kB / 0.7759 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/0.9554, allocations: 309.1 kB / 0.7762 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.9555, allocations: 32.88 kB / 0.7762 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.394e-06/0.9555, allocations: 1.812 kB / 0.7762 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001009/0.9565, allocations: 460.1 kB / 0.7767 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.9565, allocations: 58.89 kB / 0.7767 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.9569, allocations: 399.5 kB / 0.7771 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.957, allocations: 30.08 kB / 0.7771 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.9571, allocations: 227.4 kB / 0.7774 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.9572, allocations: 84.17 kB / 0.7774 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.248e-05/0.9572, allocations: 54.97 kB / 0.7775 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.9574, allocations: 352.5 kB / 0.7778 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.9576, allocations: 114.1 kB / 0.7779 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.9578, allocations: 185 kB / 0.7781 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.9583, allocations: 298.3 kB / 0.7784 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9583, allocations: 5.203 kB / 0.7784 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005759/0.9588, allocations: 377.1 kB / 0.7788 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.9589, allocations: 4.906 kB / 0.7788 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.9589, allocations: 4.625 kB / 0.7788 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.9589, allocations: 2.875 kB / 0.7788 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.9592, allocations: 58.91 kB / 0.7788 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9592, allocations: 4.75 kB / 0.7788 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.9594, allocations: 40.59 kB / 0.7789 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.9594, allocations: 14.91 kB / 0.7789 GB, free: 13.93 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.0001545/0.9596, allocations: 170.9 kB / 0.7791 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.9597, allocations: 38.03 kB / 0.7791 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/0.9603, allocations: 371.9 kB / 0.7794 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9603, allocations: 3.594 kB / 0.7794 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9603, allocations: 0.875 kB / 0.7794 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9603, allocations: 0 / 0.7794 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.9615, allocations: 0.9385 MB / 0.7804 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.9616, allocations: 2.594 kB / 0.7804 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.9618, allocations: 48.14 kB / 0.7804 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.9618, allocations: 4.406 kB / 0.7804 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.9618, allocations: 7.812 kB / 0.7804 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.9618, allocations: 10.81 kB / 0.7804 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9619, allocations: 2.094 kB / 0.7804 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/0.9626, allocations: 0.6286 MB / 0.7811 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.9628, allocations: 146.9 kB / 0.7812 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.9629, allocations: 14.09 kB / 0.7812 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.9631, allocations: 8.719 kB / 0.7812 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.9632, allocations: 21.42 kB / 0.7812 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.9632, allocations: 12.06 kB / 0.7812 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002398/0.9634, allocations: 280.7 kB / 0.7815 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.11e-07/0.9635, allocations: 0 / 0.7815 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004279/0.9639, allocations: 108.3 kB / 0.7816 GB, free: 12.96 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.0003798/0.9643, allocations: 179.6 kB / 0.7818 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.9648, allocations: 298.1 kB / 0.7821 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9648, allocations: 0.9062 kB / 0.7821 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.965, allocations: 148.4 kB / 0.7822 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009513/0.966, allocations: 226.5 kB / 0.7824 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.9672, allocations: 0.8079 MB / 0.7832 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.9675, allocations: 0.8335 MB / 0.784 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002599/0.9678, allocations: 96.48 kB / 0.7841 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.972e-05/0.9679, allocations: 32.81 kB / 0.7842 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.9679, allocations: 0 / 0.7842 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.01219/0.9801, allocations: 7.6 MB / 0.7916 GB, free: 11.36 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)