Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.00149, allocations: 102 kB / 16.35 MB, free: 5.828 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.001798/0.001798, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8217/0.8217, allocations: 132.2 MB / 423.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 68.39 kB / 0.5032 GB, free: 8.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1669, allocations: 80.2 MB / 0.5815 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4823/0.6492, allocations: 161.3 MB / 0.7391 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005924/0.6552, allocations: 4.555 MB / 0.7435 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.6557, allocations: 9.031 kB / 0.7435 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.6563, allocations: 124.5 kB / 0.7436 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008916/0.6572, allocations: 334.3 kB / 0.7439 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008166/0.658, allocations: 281.2 kB / 0.7442 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.6586, allocations: 0.5638 MB / 0.7448 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.659, allocations: 198.9 kB / 0.745 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009108/0.6599, allocations: 463.6 kB / 0.7454 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.6602, allocations: 191.2 kB / 0.7456 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.6602, allocations: 16.5 kB / 0.7456 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.6604, allocations: 83.98 kB / 0.7457 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.6605, allocations: 88.44 kB / 0.7458 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.6606, allocations: 123.2 kB / 0.7459 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.661, allocations: 300 kB / 0.7462 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.661, allocations: 0 / 0.7462 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.32e-07/0.661, allocations: 0 / 0.7462 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.661, allocations: 1.281 kB / 0.7462 GB, free: 7.398 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007637/0.6618, allocations: 0.5358 MB / 0.7467 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.6619, allocations: 9.906 kB / 0.7467 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.188e-05/0.6619, allocations: 28.69 kB / 0.7467 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.6624, allocations: 287.8 kB / 0.747 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.6624, allocations: 15.94 kB / 0.747 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.6625, allocations: 15.97 kB / 0.747 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.6629, allocations: 260.3 kB / 0.7473 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6629, allocations: 7.875 kB / 0.7473 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.6629, allocations: 10.75 kB / 0.7473 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.6629, allocations: 5.5 kB / 0.7473 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.6633, allocations: 151.4 kB / 0.7474 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.6645, allocations: 1.359 MB / 0.7488 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.6648, allocations: 184.1 kB / 0.7489 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.665, allocations: 105 kB / 0.749 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/0.6653, allocations: 115.6 kB / 0.7492 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.6653, allocations: 45.03 kB / 0.7492 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.605e-06/0.6654, allocations: 3.984 kB / 0.7492 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005916/0.666, allocations: 215 kB / 0.7494 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.666, allocations: 182.7 kB / 0.7496 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.6663, allocations: 293.4 kB / 0.7499 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.6663, allocations: 25.7 kB / 0.7499 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.6664, allocations: 148.8 kB / 0.75 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.6665, allocations: 28.47 kB / 0.7501 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.6665, allocations: 38.39 kB / 0.7501 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6667, allocations: 338.3 kB / 0.7504 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.6668, allocations: 42.94 kB / 0.7505 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.667, allocations: 123 kB / 0.7506 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.6673, allocations: 159.2 kB / 0.7507 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6673, allocations: 4 kB / 0.7507 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003469/0.6676, allocations: 190.1 kB / 0.7509 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.6676, allocations: 5.281 kB / 0.7509 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.6677, allocations: 2.469 kB / 0.7509 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6677, allocations: 1.844 kB / 0.7509 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.6678, allocations: 37.89 kB / 0.751 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6678, allocations: 2.656 kB / 0.751 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.668, allocations: 26.39 kB / 0.751 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.668, allocations: 13.33 kB / 0.751 GB, free: 3.074 MB / 0.5606 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 (15): * Single equations (assignments): 15 * 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.0001146/0.6681, allocations: 148.4 kB / 0.7511 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.6683, allocations: 26.56 kB / 0.7512 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.6686, allocations: 136.6 kB / 0.7513 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6686, allocations: 2.812 kB / 0.7513 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6686, allocations: 2.094 kB / 0.7513 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.6686, allocations: 3.984 kB / 0.7513 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008028/0.6694, allocations: 0.773 MB / 0.7521 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6694, allocations: 0 / 0.7521 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6696, allocations: 25.73 kB / 0.7521 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6696, allocations: 2.219 kB / 0.7521 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.6696, allocations: 3.062 kB / 0.7521 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.6696, allocations: 10.14 kB / 0.7521 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6696, allocations: 3.938 kB / 0.7521 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.6701, allocations: 341.2 kB / 0.7524 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.6702, allocations: 113.4 kB / 0.7525 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.6702, allocations: 1.844 kB / 0.7525 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.6704, allocations: 13.75 kB / 0.7525 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.6704, allocations: 16.45 kB / 0.7526 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.6704, allocations: 2.75 kB / 0.7526 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001735/0.6706, allocations: 209.5 kB / 0.7528 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6706, allocations: 0 / 0.7528 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003276/0.6709, allocations: 58.33 kB / 0.7528 GB, free: 1.492 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0002865/0.6712, allocations: 139.2 kB / 0.753 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.6717, allocations: 118.8 kB / 0.7531 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6717, allocations: 0 / 0.7531 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.6718, allocations: 62.84 kB / 0.7531 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007385/0.6726, allocations: 129.3 kB / 0.7533 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007257/0.6733, allocations: 0.4908 MB / 0.7537 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.6736, allocations: 0.7534 MB / 0.7545 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.6737, allocations: 57.16 kB / 0.7545 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.6738, allocations: 21.03 kB / 0.7545 GB, free: 112 kB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.6738, allocations: 0 / 0.7545 GB, free: 112 kB / 0.5606 GB Notification: Performance of Templates: time 0.007941/0.6817, allocations: 4.22 MB / 0.7587 GB, free: 12.38 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)