Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 173.2 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7723/0.7723, allocations: 130.7 MB / 138.7 MB, free: 3.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 221.5 MB / 391.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009451/0.0009449, allocations: 95.7 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.971e-05, allocations: 8 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5244, allocations: 81.56 MB / 0.6282 GB, free: 42.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.03/5.554, allocations: 1.829 GB / 2.458 GB, free: 82.59 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/5.555, allocations: 87.89 kB / 2.458 GB, free: 82.54 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.082/6.637, allocations: 296.8 MB / 2.748 GB, free: 54.56 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.124e-06/6.637, allocations: 0 / 2.748 GB, free: 54.56 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.689e-05/6.637, allocations: 12 kB / 2.748 GB, free: 54.55 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001552/6.638, allocations: 0.6425 MB / 2.748 GB, free: 53.86 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/6.638, allocations: 12.03 kB / 2.748 GB, free: 53.84 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/6.639, allocations: 56.97 kB / 2.748 GB, free: 53.79 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/6.639, allocations: 329.8 kB / 2.749 GB, free: 53.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/6.639, allocations: 11.94 kB / 2.749 GB, free: 53.42 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/6.639, allocations: 16 kB / 2.749 GB, free: 53.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003179/6.64, allocations: 141.1 kB / 2.749 GB, free: 53.27 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/6.64, allocations: 262.6 kB / 2.749 GB, free: 52.98 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/6.64, allocations: 0 / 2.749 GB, free: 52.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/6.64, allocations: 0 / 2.749 GB, free: 52.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/6.64, allocations: 8 kB / 2.749 GB, free: 52.98 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/6.642, allocations: 1.458 MB / 2.75 GB, free: 51.39 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/6.642, allocations: 90.56 kB / 2.75 GB, free: 51.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/6.642, allocations: 60.84 kB / 2.751 GB, free: 51.23 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004922/6.643, allocations: 307.2 kB / 2.751 GB, free: 50.88 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/6.643, allocations: 30.56 kB / 2.751 GB, free: 50.84 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 2.966e-06/6.643, allocations: 0 / 2.751 GB, free: 50.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13): time 0.0005785/6.643, allocations: 192.2 kB / 2.751 GB, free: 50.65 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/6.643, allocations: 55.41 kB / 2.751 GB, free: 50.58 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/6.643, allocations: 190 kB / 2.751 GB, free: 50.39 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/6.643, allocations: 33.7 kB / 2.751 GB, free: 50.35 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/6.644, allocations: 192 kB / 2.751 GB, free: 50.16 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/6.644, allocations: 43.36 kB / 2.752 GB, free: 50.12 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/6.644, allocations: 0 / 2.752 GB, free: 50.12 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/6.644, allocations: 330.8 kB / 2.752 GB, free: 49.79 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/6.644, allocations: 39.98 kB / 2.752 GB, free: 49.75 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/6.644, allocations: 100.7 kB / 2.752 GB, free: 49.62 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/6.644, allocations: 83.88 kB / 2.752 GB, free: 49.54 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/6.644, allocations: 0 / 2.752 GB, free: 49.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003124/6.644, allocations: 193.4 kB / 2.752 GB, free: 49.35 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/6.644, allocations: 11.98 kB / 2.752 GB, free: 49.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/6.644, allocations: 0 / 2.752 GB, free: 49.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/6.644, allocations: 4 kB / 2.752 GB, free: 49.33 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/6.645, allocations: 35.92 kB / 2.752 GB, free: 49.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/6.645, allocations: 0 / 2.752 GB, free: 49.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/6.645, allocations: 39.91 kB / 2.752 GB, free: 49.26 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/6.645, allocations: 8 kB / 2.752 GB, free: 49.25 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.408e-05/6.645, allocations: 118.5 kB / 2.752 GB, free: 49.13 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/6.645, allocations: 19.72 kB / 2.752 GB, free: 49.11 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/6.645, allocations: 187.8 kB / 2.753 GB, free: 48.91 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/6.645, allocations: 0 / 2.753 GB, free: 48.91 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/6.645, allocations: 0 / 2.753 GB, free: 48.91 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/6.645, allocations: 0 / 2.753 GB, free: 48.91 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/6.646, allocations: 0.6254 MB / 2.753 GB, free: 48.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/6.646, allocations: 0 / 2.753 GB, free: 48.22 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/6.646, allocations: 36.14 kB / 2.753 GB, free: 48.19 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/6.646, allocations: 4 kB / 2.753 GB, free: 48.18 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/6.646, allocations: 4 kB / 2.753 GB, free: 48.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/6.646, allocations: 0 / 2.753 GB, free: 48.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/6.646, allocations: 7.953 kB / 2.753 GB, free: 48.17 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/6.647, allocations: 405.1 kB / 2.754 GB, free: 47.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/6.647, allocations: 112.8 kB / 2.754 GB, free: 47.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/6.647, allocations: 7.938 kB / 2.754 GB, free: 47.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/6.647, allocations: 23.88 kB / 2.754 GB, free: 47.54 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/6.647, allocations: 15.98 kB / 2.754 GB, free: 47.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/6.647, allocations: 8 kB / 2.754 GB, free: 47.51 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 9.681e-05/6.647, allocations: 150 kB / 2.754 GB, free: 47.37 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.21e-07/6.647, allocations: 0 / 2.754 GB, free: 47.37 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006428/6.648, allocations: 151.7 kB / 2.754 GB, free: 47.22 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002131/6.65, allocations: 1.355 MB / 2.755 GB, free: 45.83 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002415/6.65, allocations: 105 kB / 2.756 GB, free: 45.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/6.65, allocations: 0 / 2.756 GB, free: 45.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/6.65, allocations: 68.59 kB / 2.756 GB, free: 45.66 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/6.651, allocations: 80.44 kB / 2.756 GB, free: 45.58 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/6.652, allocations: 352.5 kB / 2.756 GB, free: 45.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/6.652, allocations: 0.7867 MB / 2.757 GB, free: 44.39 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000191/6.652, allocations: 42.05 kB / 2.757 GB, free: 44.34 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/6.652, allocations: 19.44 kB / 2.757 GB, free: 44.32 MB / 0.6667 GB Notification: Performance of SimCode: time 2.21e-07/6.652, allocations: 0 / 2.757 GB, free: 44.32 MB / 0.6667 GB Notification: Performance of Templates: time 0.01699/6.669, allocations: 10.1 MB / 2.767 GB, free: 34.27 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)