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.00122/0.00122, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001399/0.001399, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7993/0.7993, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 61.53 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1474, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6142/0.7617, allocations: 167.5 MB / 0.8239 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008709/0.7704, allocations: 6.541 MB / 0.8303 GB, free: 244 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007523/0.7712, allocations: 11.69 kB / 0.8303 GB, free: 240 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007813/0.772, allocations: 168.1 kB / 0.8305 GB, free: 88 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.7748, allocations: 0.8441 MB / 0.8313 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.7761, allocations: 329.3 kB / 0.8316 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.7773, allocations: 0.7159 MB / 0.8323 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005817/0.7779, allocations: 279.7 kB / 0.8326 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.7795, allocations: 0.5561 MB / 0.8332 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005704/0.7801, allocations: 271 kB / 0.8334 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.7801, allocations: 20.12 kB / 0.8334 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/0.781, allocations: 339.2 kB / 0.8338 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.7811, allocations: 111 kB / 0.8339 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.7814, allocations: 160.7 kB / 0.834 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009029/0.7823, allocations: 485.5 kB / 0.8345 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7823, allocations: 2.125 kB / 0.8345 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7823, allocations: 4 kB / 0.8345 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.138e-05/0.7823, allocations: 0 / 0.8345 GB, free: 13.46 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.001082/0.7834, allocations: 0.611 MB / 0.8351 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.7835, allocations: 13.73 kB / 0.8351 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.7838, allocations: 57.75 kB / 0.8351 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.7844, allocations: 324.7 kB / 0.8355 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.982e-05/0.7845, allocations: 22.91 kB / 0.8355 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.7845, allocations: 24.91 kB / 0.8355 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.7851, allocations: 321.6 kB / 0.8358 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7852, allocations: 0 / 0.8358 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.7852, allocations: 10.59 kB / 0.8358 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.7852, allocations: 7.875 kB / 0.8358 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.7856, allocations: 209.5 kB / 0.836 GB, free: 12.22 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.001715/0.7874, allocations: 1.532 MB / 0.8375 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.7876, allocations: 121.8 kB / 0.8376 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.7878, allocations: 88.28 kB / 0.8377 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/0.7884, allocations: 305.7 kB / 0.838 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.7884, allocations: 38.84 kB / 0.8381 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.7884, allocations: 0 / 0.8381 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008056/0.7893, allocations: 268.1 kB / 0.8383 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.7893, allocations: 57.75 kB / 0.8384 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.7896, allocations: 309.3 kB / 0.8387 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.7897, allocations: 28.27 kB / 0.8387 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.7898, allocations: 185 kB / 0.8389 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.7899, allocations: 41.05 kB / 0.8389 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.79, allocations: 42.17 kB / 0.8389 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7901, allocations: 338.2 kB / 0.8393 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.7903, allocations: 58.45 kB / 0.8393 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.7905, allocations: 111.9 kB / 0.8394 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.7908, allocations: 176.7 kB / 0.8396 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7908, allocations: 2.438 kB / 0.8396 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004206/0.7912, allocations: 223.3 kB / 0.8398 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7913, allocations: 7.125 kB / 0.8398 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7913, allocations: 0 / 0.8398 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.7913, allocations: 3 kB / 0.8398 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.7915, allocations: 37.08 kB / 0.8399 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7915, allocations: 3.25 kB / 0.8399 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.7917, allocations: 33.97 kB / 0.8399 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.7917, allocations: 14.8 kB / 0.8399 GB, free: 8.895 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.0001551/0.7919, allocations: 151.9 kB / 0.8401 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.7919, allocations: 24.09 kB / 0.8401 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.7923, allocations: 211 kB / 0.8403 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7924, allocations: 2.531 kB / 0.8403 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7924, allocations: 0 / 0.8403 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.7924, allocations: 4 kB / 0.8403 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009953/0.7934, allocations: 0.6897 MB / 0.841 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7934, allocations: 1.969 kB / 0.841 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.7935, allocations: 32.72 kB / 0.841 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.7935, allocations: 1.781 kB / 0.841 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.7936, allocations: 9.75 kB / 0.841 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.7936, allocations: 3.938 kB / 0.841 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7936, allocations: 2.281 kB / 0.841 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.794, allocations: 331.3 kB / 0.8413 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.7942, allocations: 127.2 kB / 0.8414 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.7942, allocations: 6.344 kB / 0.8414 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.7944, allocations: 13.33 kB / 0.8415 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.7944, allocations: 14.77 kB / 0.8415 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.7944, allocations: 6.031 kB / 0.8415 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002002/0.7946, allocations: 219.7 kB / 0.8417 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7947, allocations: 0 / 0.8417 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003836/0.795, allocations: 80.27 kB / 0.8418 GB, free: 7.426 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.0003829/0.7954, allocations: 155.8 kB / 0.8419 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.7958, allocations: 163.8 kB / 0.8421 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7958, allocations: 0 / 0.8421 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.796, allocations: 85.03 kB / 0.8422 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/0.7968, allocations: 150.8 kB / 0.8423 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009153/0.7978, allocations: 0.5563 MB / 0.8428 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.7982, allocations: 0.781 MB / 0.8436 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.7983, allocations: 24.34 kB / 0.8436 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.7983, allocations: 0 / 0.8436 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of Templates: time 0.008197/0.8065, allocations: 4.572 MB / 0.8481 GB, free: 3.613 MB / 0.6075 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)