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.001344/0.001345, allocations: 109.5 kB / 16.27 MB, free: 6.004 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.001374/0.001374, allocations: 188.3 kB / 17.2 MB, free: 5.617 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.3/1.3, 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.7975/0.7975, allocations: 135.2 MB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 75.89 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3412, allocations: 80.91 MB / 0.5851 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4957/0.837, allocations: 179.4 MB / 0.7602 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008045/0.8451, allocations: 7.845 MB / 0.7679 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006865/0.8458, allocations: 18.66 kB / 0.7679 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.8465, allocations: 245.2 kB / 0.7681 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.8497, allocations: 1.222 MB / 0.7693 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.8519, allocations: 0.7251 MB / 0.77 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.8535, allocations: 1.082 MB / 0.7711 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005526/0.8541, allocations: 413.4 kB / 0.7715 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.8566, allocations: 0.8176 MB / 0.7723 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008059/0.8574, allocations: 436.6 kB / 0.7727 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.911e-05/0.8575, allocations: 37.22 kB / 0.7727 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.8592, allocations: 0.9456 MB / 0.7737 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.8594, allocations: 156.5 kB / 0.7738 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.8597, allocations: 250.5 kB / 0.774 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.861, allocations: 0.9253 MB / 0.7749 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.861, allocations: 1.656 kB / 0.7749 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.861, allocations: 0 / 0.7749 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.8611, allocations: 0 / 0.7749 GB, free: 1.461 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.001246/0.8623, allocations: 0.8025 MB / 0.7757 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.8624, allocations: 12.97 kB / 0.7757 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009516/0.8633, allocations: 158.6 kB / 0.7759 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.8639, allocations: 381.1 kB / 0.7763 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.8639, allocations: 28.16 kB / 0.7763 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.864, allocations: 39.59 kB / 0.7763 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.8647, allocations: 446.6 kB / 0.7767 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.8647, allocations: 1.562 kB / 0.7767 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.8647, allocations: 18.84 kB / 0.7768 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.8648, allocations: 10.16 kB / 0.7768 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.8653, allocations: 325.2 kB / 0.7771 GB, free: 16.53 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.001969/0.8673, allocations: 2.026 MB / 0.7791 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.8677, allocations: 232.5 kB / 0.7793 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.8679, allocations: 155.8 kB / 0.7794 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/0.8685, allocations: 307.7 kB / 0.7797 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.8685, allocations: 34.91 kB / 0.7798 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.724e-06/0.8685, allocations: 1.094 kB / 0.7798 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0008758/0.8694, allocations: 459.6 kB / 0.7802 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.8695, allocations: 53.59 kB / 0.7803 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.8698, allocations: 400.4 kB / 0.7806 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.8698, allocations: 25.7 kB / 0.7807 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.87, allocations: 233.5 kB / 0.7809 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.87, allocations: 83.97 kB / 0.781 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.8701, allocations: 55.05 kB / 0.781 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8703, allocations: 359 kB / 0.7814 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.8705, allocations: 114.3 kB / 0.7815 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.8707, allocations: 188.6 kB / 0.7816 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.8711, allocations: 305 kB / 0.7819 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8711, allocations: 0 / 0.7819 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005424/0.8717, allocations: 366.5 kB / 0.7823 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.8717, allocations: 8.844 kB / 0.7823 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8717, allocations: 2.125 kB / 0.7823 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.8717, allocations: 3.406 kB / 0.7823 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.872, allocations: 64.88 kB / 0.7824 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.872, allocations: 3.562 kB / 0.7824 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.8723, allocations: 44.09 kB / 0.7824 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.8723, allocations: 11.95 kB / 0.7824 GB, free: 13.84 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.0001613/0.8725, allocations: 168.1 kB / 0.7826 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.8725, allocations: 41.06 kB / 0.7826 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006066/0.8731, allocations: 368.4 kB / 0.783 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8732, allocations: 6.094 kB / 0.783 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.8732, allocations: 0 / 0.783 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8732, allocations: 3.25 kB / 0.783 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.8744, allocations: 0.9352 MB / 0.7839 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8744, allocations: 3.062 kB / 0.7839 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.8746, allocations: 50.2 kB / 0.7839 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8746, allocations: 7.094 kB / 0.7839 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.8747, allocations: 8.562 kB / 0.784 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.8747, allocations: 3.406 kB / 0.784 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8747, allocations: 4.156 kB / 0.784 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.8755, allocations: 0.6372 MB / 0.7846 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.8756, allocations: 148 kB / 0.7847 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.8757, allocations: 9.75 kB / 0.7847 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.8759, allocations: 12.05 kB / 0.7847 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.876, allocations: 21.27 kB / 0.7848 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.876, allocations: 8.594 kB / 0.7848 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002341/0.8762, allocations: 282.8 kB / 0.785 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8762, allocations: 1 kB / 0.785 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004533/0.8767, allocations: 108.8 kB / 0.7852 GB, free: 12.86 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.0003842/0.8771, allocations: 186.6 kB / 0.7853 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.8776, allocations: 305.4 kB / 0.7856 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8776, allocations: 0 / 0.7856 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.8779, allocations: 150.6 kB / 0.7858 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009884/0.8789, allocations: 216.2 kB / 0.786 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.8801, allocations: 0.8504 MB / 0.7868 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.8806, allocations: 0.8282 MB / 0.7876 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.8807, allocations: 39.06 kB / 0.7876 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.8807, allocations: 0 / 0.7876 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of Templates: time 0.008874/0.8896, allocations: 6.807 MB / 0.7943 GB, free: 11.09 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)