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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00704/0.00704, allocations: 106.2 kB / 15.74 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.001636/0.001636, allocations: 196.8 kB / 16.68 MB, free: 5.918 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.781/0.781, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.89 kB / 0.5814 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4401, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1952/0.6353, allocations: 167.5 MB / 0.8233 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007542/0.6429, allocations: 6.537 MB / 0.8297 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/0.6434, allocations: 11.94 kB / 0.8297 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.644, allocations: 178.7 kB / 0.8299 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.6463, allocations: 0.8713 MB / 0.8307 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.6474, allocations: 325.9 kB / 0.831 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.6486, allocations: 0.7213 MB / 0.8317 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006006/0.6493, allocations: 274.7 kB / 0.832 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.6509, allocations: 0.5682 MB / 0.8325 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.6514, allocations: 275 kB / 0.8328 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.6515, allocations: 20 kB / 0.8328 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007447/0.6523, allocations: 343.2 kB / 0.8332 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.6524, allocations: 111.6 kB / 0.8333 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.6527, allocations: 163.2 kB / 0.8334 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000821/0.6535, allocations: 480.4 kB / 0.8339 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6535, allocations: 4 kB / 0.8339 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6535, allocations: 0 / 0.8339 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.6536, allocations: 0 / 0.8339 GB, free: 3.191 MB / 0.6544 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.001011/0.6546, allocations: 0.6078 MB / 0.8345 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.6546, allocations: 12.75 kB / 0.8345 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.655, allocations: 67.5 kB / 0.8345 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.6556, allocations: 329.1 kB / 0.8349 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.6556, allocations: 20.56 kB / 0.8349 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.6557, allocations: 24 kB / 0.8349 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.6562, allocations: 323.7 kB / 0.8352 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6562, allocations: 0 / 0.8352 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.6562, allocations: 12 kB / 0.8352 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.6563, allocations: 7.938 kB / 0.8352 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.6567, allocations: 205.5 kB / 0.8354 GB, free: 1.484 MB / 0.6544 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.001533/0.6582, allocations: 1.534 MB / 0.8369 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.6585, allocations: 122.5 kB / 0.837 GB, free: 15.69 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.6587, allocations: 88.81 kB / 0.8371 GB, free: 15.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/0.6593, allocations: 299.2 kB / 0.8374 GB, free: 15.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.6593, allocations: 38.56 kB / 0.8374 GB, free: 15.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.6593, allocations: 4 kB / 0.8375 GB, free: 15.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007676/0.6601, allocations: 261.3 kB / 0.8377 GB, free: 14.94 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.6601, allocations: 51.41 kB / 0.8377 GB, free: 14.88 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.6605, allocations: 308.5 kB / 0.838 GB, free: 14.57 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.6605, allocations: 37.64 kB / 0.8381 GB, free: 14.53 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.6606, allocations: 188 kB / 0.8383 GB, free: 14.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.6607, allocations: 43.3 kB / 0.8383 GB, free: 14.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.6607, allocations: 41.7 kB / 0.8383 GB, free: 14.25 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6609, allocations: 342.8 kB / 0.8387 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.661, allocations: 55.95 kB / 0.8387 GB, free: 13.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.6612, allocations: 113.1 kB / 0.8388 GB, free: 13.73 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.6615, allocations: 172.3 kB / 0.839 GB, free: 13.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6616, allocations: 3.938 kB / 0.839 GB, free: 13.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004013/0.662, allocations: 217.1 kB / 0.8392 GB, free: 13.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.662, allocations: 14.64 kB / 0.8392 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.662, allocations: 0 / 0.8392 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.662, allocations: 4.047 kB / 0.8392 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.6622, allocations: 44.06 kB / 0.8393 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6622, allocations: 4 kB / 0.8393 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.6624, allocations: 23.73 kB / 0.8393 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.6624, allocations: 12 kB / 0.8393 GB, free: 13.22 MB / 0.67 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.0001986/0.6626, allocations: 149.7 kB / 0.8394 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.6627, allocations: 27.72 kB / 0.8395 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.6631, allocations: 208.6 kB / 0.8397 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6631, allocations: 4 kB / 0.8397 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6631, allocations: 0 / 0.8397 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6631, allocations: 0 / 0.8397 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/0.6641, allocations: 0.6872 MB / 0.8403 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6641, allocations: 7.938 kB / 0.8404 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.6642, allocations: 23.98 kB / 0.8404 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.6642, allocations: 11.88 kB / 0.8404 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.6643, allocations: 11.98 kB / 0.8404 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.6643, allocations: 0 / 0.8404 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6643, allocations: 8.156 kB / 0.8404 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.6647, allocations: 332.2 kB / 0.8407 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.6648, allocations: 128.6 kB / 0.8408 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.6648, allocations: 4 kB / 0.8408 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.665, allocations: 11.98 kB / 0.8409 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.6651, allocations: 11.94 kB / 0.8409 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.6651, allocations: 12.05 kB / 0.8409 GB, free: 11.45 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001976/0.6653, allocations: 219.1 kB / 0.8411 GB, free: 11.24 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6653, allocations: 4 kB / 0.8411 GB, free: 11.24 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003654/0.6657, allocations: 71.84 kB / 0.8412 GB, free: 11.17 MB / 0.67 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.0003853/0.6661, allocations: 153.5 kB / 0.8413 GB, free: 11.01 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.6665, allocations: 151.8 kB / 0.8415 GB, free: 10.86 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6665, allocations: 3.938 kB / 0.8415 GB, free: 10.86 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.6666, allocations: 88.62 kB / 0.8415 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.6674, allocations: 157.2 kB / 0.8417 GB, free: 10.63 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.6683, allocations: 0.5329 MB / 0.8422 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.6687, allocations: 0.7872 MB / 0.843 GB, free: 9.234 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001543/0.6688, allocations: 50.95 kB / 0.843 GB, free: 9.188 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.6689, allocations: 27.42 kB / 0.8431 GB, free: 9.16 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.6689, allocations: 4 kB / 0.8431 GB, free: 9.156 MB / 0.67 GB Notification: Performance of Templates: time 0.009342/0.6782, allocations: 5.143 MB / 0.8481 GB, free: 4.109 MB / 0.67 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)