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.007024/0.007024, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001283/0.001283, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.413/1.413, allocations: 222.9 MB / 240.4 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.8374/0.8374, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 60.66 kB / 0.5814 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1739, allocations: 80.21 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5738/0.7478, allocations: 161.4 MB / 0.8173 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005764/0.7536, allocations: 4.537 MB / 0.8217 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.7542, allocations: 15.16 kB / 0.8217 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.7548, allocations: 124 kB / 0.8218 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009576/0.7558, allocations: 346.5 kB / 0.8222 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/0.7568, allocations: 278.8 kB / 0.8224 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007482/0.7576, allocations: 0.5625 MB / 0.823 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.758, allocations: 204.2 kB / 0.8232 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.7594, allocations: 479.1 kB / 0.8236 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.7597, allocations: 183.9 kB / 0.8238 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.7597, allocations: 16.94 kB / 0.8238 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.76, allocations: 85.17 kB / 0.8239 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.7601, allocations: 89 kB / 0.824 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.7603, allocations: 116.8 kB / 0.8241 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.7607, allocations: 306.6 kB / 0.8244 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.7608, allocations: 0 / 0.8244 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.18e-06/0.7608, allocations: 0 / 0.8244 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.7608, allocations: 3.938 kB / 0.8244 GB, free: 5.055 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00105/0.7618, allocations: 0.5408 MB / 0.8249 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.7619, allocations: 7.844 kB / 0.8249 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.762, allocations: 27.41 kB / 0.8249 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.7625, allocations: 280 kB / 0.8252 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.7625, allocations: 16.16 kB / 0.8252 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.7625, allocations: 25.08 kB / 0.8253 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.763, allocations: 261 kB / 0.8255 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.763, allocations: 6.812 kB / 0.8255 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.7631, allocations: 6.938 kB / 0.8255 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.7631, allocations: 2.531 kB / 0.8255 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.7634, allocations: 150.4 kB / 0.8257 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.7648, allocations: 1.362 MB / 0.827 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.7651, allocations: 180.6 kB / 0.8272 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.7653, allocations: 96.23 kB / 0.8273 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.7656, allocations: 123.4 kB / 0.8274 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.7657, allocations: 37.25 kB / 0.8274 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.7657, allocations: 0 / 0.8274 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006366/0.7663, allocations: 209.3 kB / 0.8276 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.7664, allocations: 190.8 kB / 0.8278 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.7668, allocations: 286 kB / 0.8281 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.7668, allocations: 30.23 kB / 0.8281 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.7669, allocations: 156.6 kB / 0.8282 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.767, allocations: 36.48 kB / 0.8283 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.7671, allocations: 33.89 kB / 0.8283 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.7672, allocations: 338.8 kB / 0.8286 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.7674, allocations: 42.31 kB / 0.8287 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.7676, allocations: 119.3 kB / 0.8288 GB, free: 1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.7679, allocations: 158.8 kB / 0.8289 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.768, allocations: 0 / 0.8289 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003968/0.7684, allocations: 194.2 kB / 0.8291 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7684, allocations: 9.875 kB / 0.8291 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.7684, allocations: 5.625 kB / 0.8291 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.7684, allocations: 2.562 kB / 0.8291 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.7686, allocations: 30.58 kB / 0.8292 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.7686, allocations: 4.719 kB / 0.8292 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.7688, allocations: 29.48 kB / 0.8292 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.7688, allocations: 5.688 kB / 0.8292 GB, free: 0.7344 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 (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.0001291/0.7689, allocations: 158.6 kB / 0.8294 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.7691, allocations: 28.34 kB / 0.8294 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.7694, allocations: 126.5 kB / 0.8295 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.7694, allocations: 3.344 kB / 0.8295 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7694, allocations: 2.75 kB / 0.8295 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7694, allocations: 0 / 0.8295 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009285/0.7703, allocations: 0.7761 MB / 0.8303 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7704, allocations: 2.906 kB / 0.8303 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.7705, allocations: 23.27 kB / 0.8303 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7705, allocations: 2.281 kB / 0.8303 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.7705, allocations: 6.484 kB / 0.8303 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.7705, allocations: 2.188 kB / 0.8303 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7705, allocations: 11.92 kB / 0.8303 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.771, allocations: 337.5 kB / 0.8306 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.7711, allocations: 113.4 kB / 0.8307 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.7712, allocations: 6.5 kB / 0.8308 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.7713, allocations: 5.062 kB / 0.8308 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.7714, allocations: 20.86 kB / 0.8308 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.7714, allocations: 3.094 kB / 0.8308 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001937/0.7716, allocations: 209.8 kB / 0.831 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7716, allocations: 8 kB / 0.831 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003561/0.772, allocations: 57.41 kB / 0.831 GB, free: 15.14 MB / 0.6075 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.0003387/0.7723, allocations: 135.4 kB / 0.8312 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.7727, allocations: 124 kB / 0.8313 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7727, allocations: 0 / 0.8313 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.7728, allocations: 57.22 kB / 0.8313 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.7736, allocations: 122.4 kB / 0.8315 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008565/0.7744, allocations: 499.6 kB / 0.8319 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.7748, allocations: 0.7641 MB / 0.8327 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.7749, allocations: 53.81 kB / 0.8327 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.775, allocations: 21.97 kB / 0.8328 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.775, allocations: 0 / 0.8328 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.007789/0.7828, allocations: 4.245 MB / 0.8369 GB, free: 11.66 MB / 0.6075 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)