Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004863/0.004863, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001127/0.001128, allocations: 197.4 kB / 16.67 MB, free: 5.973 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8036/0.8036, allocations: 135.1 MB / 425.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 62.75 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1616, allocations: 80.93 MB / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5692/0.7308, allocations: 167.5 MB / 0.8283 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008332/0.7392, allocations: 6.537 MB / 0.8346 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007146/0.7399, allocations: 15.69 kB / 0.8347 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007264/0.7407, allocations: 174.9 kB / 0.8348 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.7432, allocations: 0.8473 MB / 0.8357 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.7443, allocations: 314.7 kB / 0.836 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.7454, allocations: 0.7338 MB / 0.8367 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005457/0.7459, allocations: 266.8 kB / 0.8369 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.7474, allocations: 0.5582 MB / 0.8375 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.7479, allocations: 267.3 kB / 0.8377 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.748, allocations: 22.59 kB / 0.8377 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.7489, allocations: 340.7 kB / 0.8381 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.7491, allocations: 100 kB / 0.8382 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.7493, allocations: 169.3 kB / 0.8383 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.7504, allocations: 483.6 kB / 0.8388 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.7504, allocations: 0 / 0.8388 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7504, allocations: 4 kB / 0.8388 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.415e-05/0.7504, allocations: 0 / 0.8388 GB, free: 7.723 MB / 0.6075 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.001255/0.7517, allocations: 0.6213 MB / 0.8394 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7517, allocations: 14.7 kB / 0.8394 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.7522, allocations: 70.06 kB / 0.8395 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.7528, allocations: 320.4 kB / 0.8398 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.7528, allocations: 21.28 kB / 0.8398 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.7529, allocations: 23.72 kB / 0.8398 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.7535, allocations: 317.7 kB / 0.8401 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.7535, allocations: 0 / 0.8401 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.7535, allocations: 12.34 kB / 0.8401 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.7535, allocations: 5.75 kB / 0.8402 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.754, allocations: 209.3 kB / 0.8404 GB, free: 6.469 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001712/0.7557, allocations: 1.54 MB / 0.8419 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.756, allocations: 116.5 kB / 0.842 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.7562, allocations: 90.14 kB / 0.8421 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006163/0.7568, allocations: 311.8 kB / 0.8423 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.7568, allocations: 30.56 kB / 0.8424 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 3.136e-06/0.7569, allocations: 0 / 0.8424 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008021/0.7577, allocations: 286.4 kB / 0.8427 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.7577, allocations: 54.38 kB / 0.8427 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.758, allocations: 309.3 kB / 0.843 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.7581, allocations: 25.7 kB / 0.843 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.7582, allocations: 186.1 kB / 0.8432 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.7583, allocations: 48.08 kB / 0.8432 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.7583, allocations: 37.36 kB / 0.8433 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7585, allocations: 345.6 kB / 0.8436 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.7586, allocations: 58.7 kB / 0.8437 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.7588, allocations: 109.3 kB / 0.8438 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.7592, allocations: 184.7 kB / 0.8439 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7592, allocations: 0 / 0.8439 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004268/0.7596, allocations: 223.2 kB / 0.8442 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7597, allocations: 7.469 kB / 0.8442 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7597, allocations: 0 / 0.8442 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.7597, allocations: 3.969 kB / 0.8442 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.7599, allocations: 29.36 kB / 0.8442 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.7599, allocations: 4.438 kB / 0.8442 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.7601, allocations: 27.7 kB / 0.8442 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.7601, allocations: 15.91 kB / 0.8442 GB, free: 3.109 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.7603, allocations: 150.8 kB / 0.8444 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.7603, allocations: 28.53 kB / 0.8444 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.7608, allocations: 211.3 kB / 0.8446 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.7608, allocations: 2.844 kB / 0.8446 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7608, allocations: 0 / 0.8446 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.7608, allocations: 3.062 kB / 0.8446 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.7618, allocations: 0.6779 MB / 0.8453 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7619, allocations: 2.469 kB / 0.8453 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.762, allocations: 36.09 kB / 0.8453 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.762, allocations: 2.75 kB / 0.8453 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.762, allocations: 8.312 kB / 0.8453 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.762, allocations: 3 kB / 0.8453 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.762, allocations: 2.719 kB / 0.8453 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.7625, allocations: 342.2 kB / 0.8457 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.7626, allocations: 117.7 kB / 0.8458 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.7627, allocations: 14.69 kB / 0.8458 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.7628, allocations: 10.67 kB / 0.8458 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.7629, allocations: 13.58 kB / 0.8458 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.7629, allocations: 4.719 kB / 0.8458 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002207/0.7632, allocations: 226.9 kB / 0.846 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7632, allocations: 0 / 0.846 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003946/0.7636, allocations: 73.56 kB / 0.8461 GB, free: 1.645 MB / 0.6075 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 () * Number of clocked 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 (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.000383/0.764, allocations: 161 kB / 0.8463 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.7644, allocations: 161.4 kB / 0.8464 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7644, allocations: 2.438 kB / 0.8464 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.7646, allocations: 79.61 kB / 0.8465 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008085/0.7654, allocations: 156.8 kB / 0.8466 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.7663, allocations: 0.5437 MB / 0.8472 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.7667, allocations: 0.7831 MB / 0.8479 GB, free: 180 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.7669, allocations: 59.3 kB / 0.848 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.767, allocations: 23.19 kB / 0.848 GB, free: 148 kB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.767, allocations: 0 / 0.848 GB, free: 148 kB / 0.6075 GB Notification: Performance of Templates: time 0.01056/0.7775, allocations: 5.143 MB / 0.853 GB, free: 13.61 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)