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.001504/0.001504, allocations: 115.2 kB / 16.37 MB, free: 6 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.001584/0.001584, allocations: 193.3 kB / 17.31 MB, free: 5.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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7637/0.7637, allocations: 135.1 MB / 426.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 0.5068 GB, free: 7.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3212, allocations: 80.91 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1498/0.4711, allocations: 161.3 MB / 0.7433 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005026/0.4762, allocations: 4.548 MB / 0.7478 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002692/0.4765, allocations: 11.94 kB / 0.7478 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.4769, allocations: 127 kB / 0.7479 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007112/0.4777, allocations: 330.5 kB / 0.7482 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.4784, allocations: 281.2 kB / 0.7485 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.479, allocations: 0.5572 MB / 0.749 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.4793, allocations: 213 kB / 0.7492 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008173/0.4801, allocations: 458.2 kB / 0.7497 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.4804, allocations: 187.3 kB / 0.7499 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.4804, allocations: 20 kB / 0.7499 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.4806, allocations: 83.92 kB / 0.75 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.4807, allocations: 83.8 kB / 0.75 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.4809, allocations: 127.3 kB / 0.7502 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.4812, allocations: 299 kB / 0.7504 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4812, allocations: 3.938 kB / 0.7504 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4812, allocations: 0 / 0.7504 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.4813, allocations: 0 / 0.7504 GB, free: 1.383 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.0007919/0.4821, allocations: 0.5334 MB / 0.751 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4821, allocations: 13.05 kB / 0.751 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.4822, allocations: 35.62 kB / 0.751 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.4826, allocations: 275.4 kB / 0.7513 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4826, allocations: 16 kB / 0.7513 GB, free: 440 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.4827, allocations: 20 kB / 0.7513 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.4831, allocations: 269.8 kB / 0.7516 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4832, allocations: 11.98 kB / 0.7516 GB, free: 100 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.4832, allocations: 4 kB / 0.7516 GB, free: 96 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4832, allocations: 4 kB / 0.7516 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2375/0.7207, allocations: 147.4 kB / 0.7517 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.722, allocations: 1.36 MB / 0.7531 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.7223, allocations: 185.9 kB / 0.7532 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.7224, allocations: 102.4 kB / 0.7533 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.7228, allocations: 117.1 kB / 0.7534 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.7228, allocations: 35.19 kB / 0.7535 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.7228, allocations: 0 / 0.7535 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005964/0.7234, allocations: 215.2 kB / 0.7537 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.7235, allocations: 182.9 kB / 0.7539 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.7238, allocations: 293 kB / 0.7541 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.7238, allocations: 26.42 kB / 0.7542 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.7239, allocations: 147.9 kB / 0.7543 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.7239, allocations: 43.03 kB / 0.7543 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.724, allocations: 33.5 kB / 0.7544 GB, free: 166 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.419e-05/0.7241, allocations: 336.8 kB / 0.7547 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.7242, allocations: 47.16 kB / 0.7547 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.7244, allocations: 112.6 kB / 0.7548 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.7247, allocations: 160.6 kB / 0.755 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7247, allocations: 1.188 kB / 0.755 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003493/0.7251, allocations: 186 kB / 0.7552 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.7251, allocations: 11.17 kB / 0.7552 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7251, allocations: 6 kB / 0.7552 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7251, allocations: 6.062 kB / 0.7552 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.7253, allocations: 29 kB / 0.7552 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7253, allocations: 3.547 kB / 0.7552 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.7254, allocations: 31.55 kB / 0.7553 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.7255, allocations: 7.516 kB / 0.7553 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 9.82e-05/0.7256, allocations: 150.5 kB / 0.7554 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.7257, allocations: 33.5 kB / 0.7554 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.726, allocations: 125.5 kB / 0.7556 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.726, allocations: 3.688 kB / 0.7556 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.726, allocations: 6.312 kB / 0.7556 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.726, allocations: 5.703 kB / 0.7556 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.7267, allocations: 0.7742 MB / 0.7563 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7267, allocations: 1.375 kB / 0.7563 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.7269, allocations: 23.78 kB / 0.7564 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.7269, allocations: 5.656 kB / 0.7564 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.7269, allocations: 2.969 kB / 0.7564 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.7269, allocations: 3.203 kB / 0.7564 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7269, allocations: 3.812 kB / 0.7564 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.7274, allocations: 344.4 kB / 0.7567 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.7275, allocations: 110.3 kB / 0.7568 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.7275, allocations: 7.203 kB / 0.7568 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.7277, allocations: 9.516 kB / 0.7568 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.7277, allocations: 12 kB / 0.7568 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.7278, allocations: 8.266 kB / 0.7568 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002127/0.728, allocations: 214.5 kB / 0.757 GB, free: 164 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.728, allocations: 0 / 0.757 GB, free: 164 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003443/0.7283, allocations: 51.78 kB / 0.7571 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.0003195/0.7287, allocations: 135.2 kB / 0.7572 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.729, allocations: 124.2 kB / 0.7573 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.729, allocations: 0.75 kB / 0.7573 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.7292, allocations: 60.83 kB / 0.7574 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.0006863/0.7299, allocations: 135.5 kB / 0.7575 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.7306, allocations: 489.2 kB / 0.758 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.7308, allocations: 0.755 MB / 0.7587 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.7309, allocations: 53.69 kB / 0.7588 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.731, allocations: 24.88 kB / 0.7588 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.731, allocations: 2.031 kB / 0.7588 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.008223/0.7392, allocations: 4.218 MB / 0.7629 GB, free: 161 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)