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.0008086/0.0008086, allocations: 99 kB / 15.05 MB, free: 1.105 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.0008436/0.0008437, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8508/0.8508, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002699, allocations: 9.344 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 82.32 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3775/0.521, allocations: 140.3 MB / 0.7242 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006544/0.5276, allocations: 5.273 MB / 0.7294 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.5279, allocations: 13.66 kB / 0.7294 GB, free: 4.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.5287, allocations: 187.6 kB / 0.7296 GB, free: 4.855 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.5304, allocations: 0.5664 MB / 0.7301 GB, free: 4.508 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.5315, allocations: 345 kB / 0.7304 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005909/0.5321, allocations: 431.9 kB / 0.7308 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004144/0.5325, allocations: 215.6 kB / 0.7311 GB, free: 4.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009725/0.5335, allocations: 435.8 kB / 0.7315 GB, free: 3.844 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.5338, allocations: 192.2 kB / 0.7317 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.5339, allocations: 16.38 kB / 0.7317 GB, free: 3.766 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.5343, allocations: 207.9 kB / 0.7319 GB, free: 3.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.5345, allocations: 87.97 kB / 0.732 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.5346, allocations: 81.27 kB / 0.732 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.535, allocations: 307.4 kB / 0.7323 GB, free: 3.551 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.535, allocations: 1.312 kB / 0.7323 GB, free: 3.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.535, allocations: 0 / 0.7323 GB, free: 3.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.535, allocations: 0 / 0.7323 GB, free: 3.551 MB / 0.545 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.0008704/0.5359, allocations: 0.5813 MB / 0.7329 GB, free: 3.051 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5359, allocations: 9.406 kB / 0.7329 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.5363, allocations: 62.86 kB / 0.733 GB, free: 3.027 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.5367, allocations: 299.5 kB / 0.7332 GB, free: 2.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.5368, allocations: 18.41 kB / 0.7333 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.5368, allocations: 26.19 kB / 0.7333 GB, free: 2.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.5373, allocations: 324.9 kB / 0.7336 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5374, allocations: 0 / 0.7336 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.5374, allocations: 14.52 kB / 0.7336 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.5374, allocations: 10.59 kB / 0.7336 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.5378, allocations: 213.7 kB / 0.7338 GB, free: 2.504 MB / 0.545 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.00147/0.5393, allocations: 1.529 MB / 0.7353 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.5395, allocations: 128.6 kB / 0.7354 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/0.5399, allocations: 130.6 kB / 0.7356 GB, free: 1.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.54, allocations: 49.53 kB / 0.7356 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.54, allocations: 0 / 0.7356 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.000716/0.5407, allocations: 288.4 kB / 0.7359 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.5408, allocations: 51.41 kB / 0.7359 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.541, allocations: 307.2 kB / 0.7362 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.5411, allocations: 29.7 kB / 0.7363 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5412, allocations: 186.6 kB / 0.7364 GB, free: 492 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.5412, allocations: 36.08 kB / 0.7365 GB, free: 464 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.5413, allocations: 4 kB / 0.7365 GB, free: 460 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5414, allocations: 343.3 kB / 0.7368 GB, free: 124 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.5416, allocations: 67.72 kB / 0.7369 GB, free: 104 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.5418, allocations: 129.1 kB / 0.737 GB, free: 24 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.5419, allocations: 73.72 kB / 0.7371 GB, free: 4 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5419, allocations: 0 / 0.7371 GB, free: 4 kB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004064/0.5423, allocations: 225.1 kB / 0.7373 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5424, allocations: 7.234 kB / 0.7373 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5424, allocations: 2.844 kB / 0.7373 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5424, allocations: 3.969 kB / 0.7373 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.5426, allocations: 42.64 kB / 0.7373 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5426, allocations: 3.828 kB / 0.7373 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.5428, allocations: 38.16 kB / 0.7374 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.5428, allocations: 10.86 kB / 0.7374 GB, free: 15.87 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.5429, allocations: 148.2 kB / 0.7375 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.543, allocations: 30.45 kB / 0.7376 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.5434, allocations: 221.2 kB / 0.7378 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5434, allocations: 3.312 kB / 0.7378 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5434, allocations: 4.547 kB / 0.7378 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5434, allocations: 0.7031 kB / 0.7378 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.5444, allocations: 0.6978 MB / 0.7385 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5444, allocations: 2.656 kB / 0.7385 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.5446, allocations: 32.25 kB / 0.7385 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5446, allocations: 3.438 kB / 0.7385 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.5446, allocations: 2.656 kB / 0.7385 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5446, allocations: 4.312 kB / 0.7385 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5446, allocations: 6.688 kB / 0.7385 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.5451, allocations: 436.4 kB / 0.7389 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5452, allocations: 113.5 kB / 0.739 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.5452, allocations: 7.828 kB / 0.739 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.5454, allocations: 18.28 kB / 0.739 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.5454, allocations: 25.44 kB / 0.7391 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.5455, allocations: 5.438 kB / 0.7391 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001972/0.5457, allocations: 220.4 kB / 0.7393 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5457, allocations: 0 / 0.7393 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000345/0.546, allocations: 70.97 kB / 0.7394 GB, free: 14.48 MB / 0.5606 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 (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.0003156/0.5463, allocations: 155.2 kB / 0.7395 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.5467, allocations: 163 kB / 0.7397 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5467, allocations: 0 / 0.7397 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.5469, allocations: 91.23 kB / 0.7397 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.5476, allocations: 143.1 kB / 0.7399 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007753/0.5484, allocations: 0.6309 MB / 0.7405 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.5487, allocations: 0.7869 MB / 0.7413 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001675/0.5489, allocations: 63.42 kB / 0.7413 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.5489, allocations: 21.5 kB / 0.7413 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.549, allocations: 0 / 0.7413 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.008102/0.5571, allocations: 4.693 MB / 0.7459 GB, free: 9.562 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: