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.001282/0.001282, allocations: 102 kB / 16.35 MB, free: 5.824 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.001267/0.001267, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8285/0.8285, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001462, allocations: 63.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4281, allocations: 80.19 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1693/0.5974, allocations: 161.4 MB / 0.7391 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005173/0.6026, allocations: 4.558 MB / 0.7435 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.603, allocations: 11.94 kB / 0.7435 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.6035, allocations: 119.1 kB / 0.7436 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008116/0.6044, allocations: 334.4 kB / 0.744 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007571/0.6051, allocations: 277.9 kB / 0.7442 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.6057, allocations: 0.5611 MB / 0.7448 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.6061, allocations: 212.9 kB / 0.745 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000863/0.607, allocations: 462.2 kB / 0.7454 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.6072, allocations: 187.2 kB / 0.7456 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.6072, allocations: 16 kB / 0.7456 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.6074, allocations: 83.92 kB / 0.7457 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.6075, allocations: 83.8 kB / 0.7458 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.6077, allocations: 119.4 kB / 0.7459 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.608, allocations: 307 kB / 0.7462 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.608, allocations: 0 / 0.7462 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.22e-07/0.608, allocations: 0 / 0.7462 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.608, allocations: 4 kB / 0.7462 GB, free: 5 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.0007895/0.6088, allocations: 0.5334 MB / 0.7467 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6089, allocations: 8.031 kB / 0.7467 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.609, allocations: 27.72 kB / 0.7467 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.6094, allocations: 287.3 kB / 0.747 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.6094, allocations: 12 kB / 0.747 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.6094, allocations: 20 kB / 0.747 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.6098, allocations: 266 kB / 0.7473 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.6099, allocations: 4 kB / 0.7473 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.6099, allocations: 7.938 kB / 0.7473 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.6099, allocations: 7.938 kB / 0.7473 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.6102, allocations: 147.8 kB / 0.7474 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.6114, allocations: 1.367 MB / 0.7488 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.6117, allocations: 183.7 kB / 0.749 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.6119, allocations: 105 kB / 0.7491 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/0.6122, allocations: 117 kB / 0.7492 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.6123, allocations: 38.5 kB / 0.7492 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.6123, allocations: 0 / 0.7492 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005582/0.6129, allocations: 205.2 kB / 0.7494 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.613, allocations: 184.5 kB / 0.7496 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.6132, allocations: 295 kB / 0.7499 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.6133, allocations: 25.7 kB / 0.7499 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.6134, allocations: 151.8 kB / 0.75 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.6134, allocations: 39.61 kB / 0.7501 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.6135, allocations: 41.55 kB / 0.7501 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6136, allocations: 334.8 kB / 0.7504 GB, free: 248 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.6137, allocations: 43.97 kB / 0.7505 GB, free: 204 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.6139, allocations: 115.7 kB / 0.7506 GB, free: 60 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2954/0.9093, allocations: 154.5 kB / 0.7507 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.9093, allocations: 1.031 kB / 0.7507 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005268/0.9099, allocations: 189.6 kB / 0.7509 GB, free: 169 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.9099, allocations: 6.016 kB / 0.7509 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.9099, allocations: 2.562 kB / 0.7509 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.91, allocations: 3.125 kB / 0.7509 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.9102, allocations: 29.95 kB / 0.7509 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.9102, allocations: 7.703 kB / 0.751 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.9104, allocations: 28.95 kB / 0.751 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.9104, allocations: 10.56 kB / 0.751 GB, free: 169 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.0001995/0.9106, allocations: 148 kB / 0.7511 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.9108, allocations: 25.16 kB / 0.7512 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.9112, allocations: 132.8 kB / 0.7513 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.9112, allocations: 2.375 kB / 0.7513 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.9112, allocations: 1.719 kB / 0.7513 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.9112, allocations: 4.047 kB / 0.7513 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.9122, allocations: 0.7685 MB / 0.752 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.9122, allocations: 5.016 kB / 0.752 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.9124, allocations: 26.61 kB / 0.7521 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.9124, allocations: 6.281 kB / 0.7521 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.9124, allocations: 6.516 kB / 0.7521 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.9124, allocations: 3.438 kB / 0.7521 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.9124, allocations: 2.094 kB / 0.7521 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.913, allocations: 342.8 kB / 0.7524 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.9132, allocations: 110.4 kB / 0.7525 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.9132, allocations: 10.95 kB / 0.7525 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.9134, allocations: 11.39 kB / 0.7525 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.9134, allocations: 9.422 kB / 0.7526 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.9135, allocations: 4.672 kB / 0.7526 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002358/0.9137, allocations: 209.4 kB / 0.7528 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9137, allocations: 1.906 kB / 0.7528 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003983/0.9141, allocations: 49.7 kB / 0.7528 GB, free: 167.7 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.0004319/0.9145, allocations: 138.7 kB / 0.7529 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004069/0.915, allocations: 124 kB / 0.7531 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.915, allocations: 0.625 kB / 0.7531 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.9152, allocations: 65.53 kB / 0.7531 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.9159, allocations: 129 kB / 0.7532 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.9168, allocations: 490 kB / 0.7537 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.9171, allocations: 0.7595 MB / 0.7545 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.9173, allocations: 48.31 kB / 0.7545 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.9174, allocations: 21.64 kB / 0.7545 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.9174, allocations: 5.531 kB / 0.7545 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01117/0.9285, allocations: 4.224 MB / 0.7586 GB, free: 165 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)