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.0008664/0.0008664, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001243/0.001243, allocations: 168.7 kB / 15.95 MB, free: 204 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.373/1.373, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9617/0.9617, allocations: 135.3 MB / 426.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003186, allocations: 8 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2249, allocations: 82.31 MB / 0.5874 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5089/0.7339, allocations: 152.2 MB / 0.736 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008014/0.742, allocations: 6.078 MB / 0.7419 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.7426, allocations: 14.75 kB / 0.7419 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.7431, allocations: 116.4 kB / 0.742 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.745, allocations: 0.5907 MB / 0.7426 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.746, allocations: 274.4 kB / 0.7429 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009814/0.747, allocations: 0.8546 MB / 0.7437 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.7473, allocations: 219.9 kB / 0.7439 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.7484, allocations: 459.2 kB / 0.7444 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.7488, allocations: 260.7 kB / 0.7446 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.7488, allocations: 13.28 kB / 0.7446 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.7494, allocations: 202 kB / 0.7448 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.7495, allocations: 94.94 kB / 0.7449 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.7496, allocations: 86.08 kB / 0.745 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.75, allocations: 319.8 kB / 0.7453 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.75, allocations: 4 kB / 0.7453 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.75, allocations: 0 / 0.7453 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.75, allocations: 0 / 0.7453 GB, free: 9.668 MB / 0.5606 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.0008217/0.7508, allocations: 0.5584 MB / 0.7458 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.7509, allocations: 11.19 kB / 0.7459 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.7512, allocations: 56.88 kB / 0.7459 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.7516, allocations: 298.2 kB / 0.7462 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.7517, allocations: 22.28 kB / 0.7462 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.7517, allocations: 26.25 kB / 0.7462 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.7522, allocations: 324.1 kB / 0.7466 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.7523, allocations: 3.938 kB / 0.7466 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.7523, allocations: 15.3 kB / 0.7466 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.7523, allocations: 6.594 kB / 0.7466 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.7527, allocations: 211.3 kB / 0.7468 GB, free: 8.492 MB / 0.5606 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.00158/0.7543, allocations: 1.539 MB / 0.7483 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.7546, allocations: 125.6 kB / 0.7484 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.7548, allocations: 101.3 kB / 0.7485 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/0.7554, allocations: 317.9 kB / 0.7488 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.7554, allocations: 34.56 kB / 0.7488 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.7554, allocations: 0 / 0.7488 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0007234/0.7561, allocations: 283.5 kB / 0.7491 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.7562, allocations: 55.09 kB / 0.7492 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.7565, allocations: 307.2 kB / 0.7494 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.7566, allocations: 25.7 kB / 0.7495 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.7567, allocations: 190.5 kB / 0.7497 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.7567, allocations: 41.52 kB / 0.7497 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.7568, allocations: 8 kB / 0.7497 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7569, allocations: 337.4 kB / 0.75 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.7571, allocations: 64.61 kB / 0.7501 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.7572, allocations: 119.4 kB / 0.7502 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.7574, allocations: 68.34 kB / 0.7503 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7574, allocations: 3.984 kB / 0.7503 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003919/0.7578, allocations: 236.3 kB / 0.7505 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.7578, allocations: 2.812 kB / 0.7505 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7578, allocations: 3.312 kB / 0.7505 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.7579, allocations: 7.125 kB / 0.7505 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.758, allocations: 33.61 kB / 0.7505 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.7581, allocations: 6.359 kB / 0.7505 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.7582, allocations: 39.86 kB / 0.7506 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.7583, allocations: 6.875 kB / 0.7506 GB, free: 5.27 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.0001393/0.7584, allocations: 158.2 kB / 0.7507 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.7585, allocations: 28.02 kB / 0.7508 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.7589, allocations: 216.8 kB / 0.751 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7589, allocations: 2.938 kB / 0.751 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7589, allocations: 4 kB / 0.751 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.759, allocations: 0 / 0.751 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009802/0.7599, allocations: 0.6976 MB / 0.7517 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.76, allocations: 0 / 0.7517 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.7601, allocations: 29.11 kB / 0.7517 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.7601, allocations: 3.375 kB / 0.7517 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.7601, allocations: 8.859 kB / 0.7517 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.7601, allocations: 7.25 kB / 0.7517 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7601, allocations: 3.938 kB / 0.7517 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.7606, allocations: 346.9 kB / 0.752 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.7607, allocations: 120.7 kB / 0.7522 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.7607, allocations: 4 kB / 0.7522 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.7609, allocations: 23.92 kB / 0.7522 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.761, allocations: 23.88 kB / 0.7522 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.761, allocations: 4 kB / 0.7522 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002332/0.7612, allocations: 223 kB / 0.7524 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7612, allocations: 0 / 0.7524 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000376/0.7616, allocations: 75.84 kB / 0.7525 GB, free: 3.578 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.0003871/0.762, allocations: 162.6 kB / 0.7527 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003815/0.7624, allocations: 159.8 kB / 0.7528 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7624, allocations: 0 / 0.7528 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.7626, allocations: 92.33 kB / 0.7529 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007872/0.7634, allocations: 142.6 kB / 0.753 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009168/0.7643, allocations: 0.6342 MB / 0.7536 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.7647, allocations: 0.7798 MB / 0.7544 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.7649, allocations: 58.92 kB / 0.7545 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.765, allocations: 27.44 kB / 0.7545 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.765, allocations: 3.938 kB / 0.7545 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of Templates: time 0.009212/0.7742, allocations: 4.686 MB / 0.7591 GB, free: 12.88 MB / 0.5762 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)