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.0008339/0.0008339, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005752/0.005752, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.778/0.778, allocations: 132.4 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.00041, allocations: 8.562 kB / 0.504 GB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4345, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1774/0.612, allocations: 157.1 MB / 0.737 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.6172, allocations: 4.48 MB / 0.7414 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.6175, allocations: 7.938 kB / 0.7414 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.6179, allocations: 103.3 kB / 0.7415 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000776/0.6187, allocations: 306.7 kB / 0.7418 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.6193, allocations: 250.2 kB / 0.7421 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007778/0.6201, allocations: 0.7912 MB / 0.7428 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.6204, allocations: 177.5 kB / 0.743 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000865/0.6213, allocations: 422.4 kB / 0.7434 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.6216, allocations: 199.2 kB / 0.7436 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.6217, allocations: 12 kB / 0.7436 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.6219, allocations: 71.88 kB / 0.7437 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.622, allocations: 75.8 kB / 0.7437 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.6221, allocations: 141.1 kB / 0.7439 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.6224, allocations: 283 kB / 0.7441 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.6225, allocations: 0 / 0.7441 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6225, allocations: 0 / 0.7441 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.6225, allocations: 0 / 0.7441 GB, free: 11.54 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007103/0.6232, allocations: 0.4996 MB / 0.7446 GB, free: 11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6232, allocations: 12.03 kB / 0.7446 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.6233, allocations: 23.72 kB / 0.7447 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.6237, allocations: 276 kB / 0.7449 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.6237, allocations: 8 kB / 0.7449 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.6238, allocations: 24 kB / 0.745 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.6242, allocations: 273.9 kB / 0.7452 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6242, allocations: 0 / 0.7452 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.6243, allocations: 8 kB / 0.7452 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.6243, allocations: 4 kB / 0.7452 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.6247, allocations: 159.8 kB / 0.7454 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.6261, allocations: 1.375 MB / 0.7467 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.6264, allocations: 187.7 kB / 0.7469 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.6266, allocations: 101 kB / 0.747 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/0.627, allocations: 137 kB / 0.7471 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.627, allocations: 34.5 kB / 0.7472 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.627, allocations: 4 kB / 0.7472 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.000632/0.6276, allocations: 221.8 kB / 0.7474 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.6277, allocations: 191.8 kB / 0.7476 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.628, allocations: 290.9 kB / 0.7478 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.6281, allocations: 25.7 kB / 0.7479 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.6282, allocations: 147.9 kB / 0.748 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.6282, allocations: 39.52 kB / 0.7481 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.6283, allocations: 21.7 kB / 0.7481 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6284, allocations: 334.8 kB / 0.7484 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.6285, allocations: 51.95 kB / 0.7484 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.6287, allocations: 126.4 kB / 0.7486 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.629, allocations: 174.9 kB / 0.7487 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.629, allocations: 0 / 0.7487 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003831/0.6294, allocations: 201.1 kB / 0.7489 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6295, allocations: 4 kB / 0.7489 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.6295, allocations: 7.984 kB / 0.7489 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.6295, allocations: 0 / 0.7489 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.6297, allocations: 44.14 kB / 0.749 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.6297, allocations: 11.88 kB / 0.749 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.6299, allocations: 23.83 kB / 0.749 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.6299, allocations: 8 kB / 0.749 GB, free: 6.105 MB / 0.5762 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.0001345/0.63, allocations: 145.8 kB / 0.7492 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.6302, allocations: 31.64 kB / 0.7492 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.6305, allocations: 143 kB / 0.7493 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.6305, allocations: 4 kB / 0.7493 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6306, allocations: 0 / 0.7493 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6306, allocations: 4 kB / 0.7493 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009564/0.6315, allocations: 0.769 MB / 0.7501 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6315, allocations: 4 kB / 0.7501 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.6317, allocations: 31.92 kB / 0.7501 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.6317, allocations: 0 / 0.7501 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.6317, allocations: 4.156 kB / 0.7501 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6317, allocations: 4 kB / 0.7501 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6317, allocations: 4 kB / 0.7501 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006275/0.6324, allocations: 355.5 kB / 0.7505 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.6325, allocations: 112.8 kB / 0.7506 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.6325, allocations: 0 / 0.7506 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.6327, allocations: 20.05 kB / 0.7506 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.6328, allocations: 19.86 kB / 0.7506 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.6328, allocations: 4 kB / 0.7506 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00023/0.633, allocations: 205.9 kB / 0.7508 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.81e-07/0.633, allocations: 0 / 0.7508 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003771/0.6334, allocations: 59.94 kB / 0.7509 GB, free: 4.07 MB / 0.5762 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.0004479/0.6339, allocations: 142 kB / 0.751 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004081/0.6343, allocations: 128 kB / 0.7511 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6343, allocations: 0 / 0.7511 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.6345, allocations: 67.89 kB / 0.7512 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.6354, allocations: 124.9 kB / 0.7513 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.6364, allocations: 0.5718 MB / 0.7519 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.6368, allocations: 0.7599 MB / 0.7526 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.6369, allocations: 50.25 kB / 0.7527 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.637, allocations: 23.44 kB / 0.7527 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.637, allocations: 0 / 0.7527 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of Templates: time 0.009129/0.6461, allocations: 3.985 MB / 0.7566 GB, free: 14.24 MB / 0.5919 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)