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.001479/0.001479, allocations: 104.7 kB / 16.27 MB, free: 6.414 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.001464/0.001464, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8015/0.8015, allocations: 135.2 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 67.88 kB / 0.506 GB, free: 8.367 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3473, allocations: 80.91 MB / 0.5851 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1748/0.5221, allocations: 161.4 MB / 0.7426 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006298/0.5285, allocations: 4.544 MB / 0.7471 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003973/0.5289, allocations: 7.938 kB / 0.7471 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.5295, allocations: 127.1 kB / 0.7472 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000972/0.5305, allocations: 330.4 kB / 0.7475 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008347/0.5313, allocations: 277.9 kB / 0.7478 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008892/0.5322, allocations: 0.5572 MB / 0.7483 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/0.5327, allocations: 209.1 kB / 0.7485 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.5338, allocations: 458.3 kB / 0.749 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.5342, allocations: 195.2 kB / 0.7491 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.5342, allocations: 16 kB / 0.7492 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.5345, allocations: 75.94 kB / 0.7492 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.5346, allocations: 83.78 kB / 0.7493 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.5348, allocations: 119.4 kB / 0.7494 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004638/0.5353, allocations: 299.1 kB / 0.7497 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5353, allocations: 3.938 kB / 0.7497 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5353, allocations: 7.938 kB / 0.7497 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.5353, allocations: 0 / 0.7497 GB, free: 1.527 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.001037/0.5364, allocations: 0.5332 MB / 0.7502 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5364, allocations: 9.109 kB / 0.7502 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.92e-05/0.5365, allocations: 31.62 kB / 0.7503 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.537, allocations: 271.4 kB / 0.7505 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.537, allocations: 16 kB / 0.7506 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.5371, allocations: 19.94 kB / 0.7506 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.5375, allocations: 258 kB / 0.7508 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.5376, allocations: 7.938 kB / 0.7508 GB, free: 276 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.5376, allocations: 8 kB / 0.7508 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5376, allocations: 4 kB / 0.7508 GB, free: 264 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.538, allocations: 147.8 kB / 0.751 GB, free: 116 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2611/0.7991, allocations: 1.368 MB / 0.7523 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.7994, allocations: 182.3 kB / 0.7525 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.7996, allocations: 100.6 kB / 0.7526 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003422/0.7999, allocations: 116.6 kB / 0.7527 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.7999, allocations: 39.69 kB / 0.7527 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.8, allocations: 0 / 0.7527 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006238/0.8006, allocations: 210.3 kB / 0.7529 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.8006, allocations: 189.3 kB / 0.7531 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.8009, allocations: 289.3 kB / 0.7534 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.801, allocations: 31.67 kB / 0.7534 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.801, allocations: 147.5 kB / 0.7536 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.8011, allocations: 38.83 kB / 0.7536 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.8011, allocations: 38.53 kB / 0.7536 GB, free: 166 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.8012, allocations: 332.9 kB / 0.754 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.8013, allocations: 49.08 kB / 0.754 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.8015, allocations: 116.8 kB / 0.7541 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.8018, allocations: 155.9 kB / 0.7543 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8018, allocations: 1.406 kB / 0.7543 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003669/0.8022, allocations: 191.3 kB / 0.7544 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8022, allocations: 6.281 kB / 0.7544 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8022, allocations: 5.641 kB / 0.7545 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.8023, allocations: 8.656 kB / 0.7545 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.8024, allocations: 28.83 kB / 0.7545 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.8024, allocations: 2.688 kB / 0.7545 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.8026, allocations: 31.12 kB / 0.7545 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.8026, allocations: 8.047 kB / 0.7545 GB, free: 165.4 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.0001148/0.8027, allocations: 149.2 kB / 0.7547 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.8029, allocations: 27.03 kB / 0.7547 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.8032, allocations: 138.9 kB / 0.7548 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.8032, allocations: 1.25 kB / 0.7548 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8032, allocations: 2.688 kB / 0.7548 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8033, allocations: 2.812 kB / 0.7548 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.8039, allocations: 0.7694 MB / 0.7556 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.804, allocations: 1.594 kB / 0.7556 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.8041, allocations: 26.86 kB / 0.7556 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.8041, allocations: 2.031 kB / 0.7556 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.8041, allocations: 7.5 kB / 0.7556 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.8041, allocations: 4.547 kB / 0.7556 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8041, allocations: 1.438 kB / 0.7556 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.8046, allocations: 345 kB / 0.756 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.8047, allocations: 112.6 kB / 0.7561 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.8047, allocations: 3.203 kB / 0.7561 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.8049, allocations: 11.92 kB / 0.7561 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.8049, allocations: 16.8 kB / 0.7561 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.805, allocations: 8.031 kB / 0.7561 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000192/0.8051, allocations: 211.6 kB / 0.7563 GB, free: 164 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.8052, allocations: 0.75 kB / 0.7563 GB, free: 164 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003448/0.8055, allocations: 53.88 kB / 0.7564 GB, free: 164 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.0003173/0.8058, allocations: 133.2 kB / 0.7565 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.8062, allocations: 128.9 kB / 0.7566 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8062, allocations: 1.062 kB / 0.7566 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.8064, allocations: 63.59 kB / 0.7567 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.8071, allocations: 126.6 kB / 0.7568 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/0.8079, allocations: 0.5182 MB / 0.7573 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.8081, allocations: 0.7542 MB / 0.758 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.8082, allocations: 22.7 kB / 0.7581 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.8082, allocations: 1.125 kB / 0.7581 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.00663/0.8148, allocations: 3.797 MB / 0.7618 GB, free: 161.1 MB / 0.5762 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)