Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005088/0.005088, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001206/0.001206, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8087/0.8087, allocations: 135.2 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 68.81 kB / 0.5856 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1697, allocations: 80.92 MB / 0.6647 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5326/0.7024, allocations: 161.4 MB / 0.8222 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005952/0.7084, allocations: 4.538 MB / 0.8267 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.7089, allocations: 9.188 kB / 0.8267 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.7094, allocations: 126.3 kB / 0.8268 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009309/0.7104, allocations: 347.5 kB / 0.8271 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.7112, allocations: 284.3 kB / 0.8274 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007036/0.712, allocations: 0.5568 MB / 0.8279 GB, free: 196 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.7123, allocations: 216 kB / 0.8281 GB, free: 64 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.7134, allocations: 463.7 kB / 0.8286 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.7137, allocations: 197.8 kB / 0.8288 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.7137, allocations: 15.47 kB / 0.8288 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.7139, allocations: 83.7 kB / 0.8289 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.714, allocations: 85.47 kB / 0.829 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.7142, allocations: 114.4 kB / 0.8291 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.7146, allocations: 308.4 kB / 0.8294 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7146, allocations: 0 / 0.8294 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7146, allocations: 0 / 0.8294 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.7146, allocations: 0 / 0.8294 GB, free: 15.3 MB / 0.6075 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.0009358/0.7155, allocations: 0.5386 MB / 0.8299 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7156, allocations: 8.984 kB / 0.8299 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.7157, allocations: 26.97 kB / 0.8299 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.7161, allocations: 284 kB / 0.8302 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.7161, allocations: 19.75 kB / 0.8302 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.7161, allocations: 16.81 kB / 0.8302 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.7166, allocations: 270.7 kB / 0.8305 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.7166, allocations: 3.984 kB / 0.8305 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.7166, allocations: 10.91 kB / 0.8305 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.7166, allocations: 4.875 kB / 0.8305 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.717, allocations: 143.5 kB / 0.8306 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.7183, allocations: 1.372 MB / 0.832 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.7186, allocations: 176.7 kB / 0.8321 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.7188, allocations: 92.95 kB / 0.8322 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.7192, allocations: 124 kB / 0.8324 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.7192, allocations: 45.16 kB / 0.8324 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.7192, allocations: 0 / 0.8324 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005836/0.7198, allocations: 208.8 kB / 0.8326 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.7199, allocations: 190.6 kB / 0.8328 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.7202, allocations: 283.2 kB / 0.833 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.7202, allocations: 33.02 kB / 0.8331 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.7203, allocations: 152.5 kB / 0.8332 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.7204, allocations: 32.41 kB / 0.8333 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.7204, allocations: 37.83 kB / 0.8333 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.7206, allocations: 332.3 kB / 0.8336 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.7207, allocations: 53.08 kB / 0.8337 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.7209, allocations: 113.7 kB / 0.8338 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.7212, allocations: 153.8 kB / 0.8339 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7212, allocations: 2.562 kB / 0.8339 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000331/0.7215, allocations: 198.6 kB / 0.8341 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.7216, allocations: 5.094 kB / 0.8341 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7216, allocations: 2.75 kB / 0.8341 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7216, allocations: 2.094 kB / 0.8341 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.7217, allocations: 26.73 kB / 0.8341 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.7218, allocations: 10.45 kB / 0.8341 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.7219, allocations: 24.84 kB / 0.8342 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.7219, allocations: 9.828 kB / 0.8342 GB, free: 10.98 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 (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.0001248/0.7221, allocations: 147 kB / 0.8343 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.7222, allocations: 31.72 kB / 0.8344 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.7225, allocations: 137.8 kB / 0.8345 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.7225, allocations: 2.875 kB / 0.8345 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7225, allocations: 2.812 kB / 0.8345 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.7226, allocations: 3.984 kB / 0.8345 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.7233, allocations: 0.7668 MB / 0.8352 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7234, allocations: 1.781 kB / 0.8352 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.7235, allocations: 30.27 kB / 0.8353 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.7235, allocations: 2.094 kB / 0.8353 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.7235, allocations: 6.203 kB / 0.8353 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7235, allocations: 3.062 kB / 0.8353 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7235, allocations: 4.156 kB / 0.8353 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.724, allocations: 341.4 kB / 0.8356 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.7242, allocations: 114.9 kB / 0.8357 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.7242, allocations: 5.062 kB / 0.8357 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.7243, allocations: 8.547 kB / 0.8357 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.7244, allocations: 14.88 kB / 0.8358 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.7244, allocations: 4.719 kB / 0.8358 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000195/0.7246, allocations: 209.8 kB / 0.836 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7246, allocations: 4.062 kB / 0.836 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004014/0.725, allocations: 61.3 kB / 0.836 GB, free: 9.375 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.0003959/0.7254, allocations: 134.7 kB / 0.8361 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003819/0.7258, allocations: 123.5 kB / 0.8363 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.7258, allocations: 4 kB / 0.8363 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.726, allocations: 56.84 kB / 0.8363 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007481/0.7267, allocations: 141.2 kB / 0.8365 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.7276, allocations: 487.9 kB / 0.8369 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.728, allocations: 0.7537 MB / 0.8377 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.7281, allocations: 54.69 kB / 0.8377 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.7282, allocations: 21.97 kB / 0.8377 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of SimCode: time 1.853e-06/0.7282, allocations: 0 / 0.8377 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.008166/0.7364, allocations: 4.245 MB / 0.8419 GB, free: 5.898 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)