Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 108.3 kB / 16.37 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.001178/0.001178, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4326, allocations: 80.18 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1938/0.6265, allocations: 169.4 MB / 0.747 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3987/1.025, allocations: 7.137 MB / 0.7539 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006698/1.026, allocations: 15.28 kB / 0.7539 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006183/1.027, allocations: 162.3 kB / 0.7541 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003573/1.03, allocations: 1.271 MB / 0.7553 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/1.032, allocations: 0.6288 MB / 0.756 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001074/1.033, allocations: 0.7588 MB / 0.7567 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/1.033, allocations: 291.9 kB / 0.757 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/1.035, allocations: 0.5719 MB / 0.7575 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008715/1.036, allocations: 418.8 kB / 0.7579 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/1.036, allocations: 26 kB / 0.758 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/1.039, allocations: 1.247 MB / 0.7592 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/1.039, allocations: 117.5 kB / 0.7593 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002895/1.039, allocations: 174.7 kB / 0.7595 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/1.041, allocations: 0.9136 MB / 0.7603 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.041, allocations: 0.6875 kB / 0.7603 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/1.041, allocations: 2.094 kB / 0.7603 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.849e-06/1.041, allocations: 0.5312 kB / 0.7603 GB, free: 1.648 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001257/1.043, allocations: 0.6871 MB / 0.761 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.043, allocations: 10.25 kB / 0.761 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/1.044, allocations: 129 kB / 0.7612 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/1.044, allocations: 338.7 kB / 0.7615 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.343e-05/1.045, allocations: 52.42 kB / 0.7615 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/1.045, allocations: 24.22 kB / 0.7615 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/1.045, allocations: 369.6 kB / 0.7619 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.045, allocations: 1.438 kB / 0.7619 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/1.045, allocations: 14.22 kB / 0.7619 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/1.045, allocations: 7.469 kB / 0.7619 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006174/1.046, allocations: 275.8 kB / 0.7622 GB, free: 16.8 MB / 0.5919 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.002112/1.048, allocations: 1.49 MB / 0.7636 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/1.049, allocations: 203.2 kB / 0.7638 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/1.049, allocations: 120.8 kB / 0.7639 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009663/1.05, allocations: 0.5007 MB / 0.7644 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/1.05, allocations: 35.14 kB / 0.7645 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/1.05, allocations: 3.844 kB / 0.7645 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008916/1.051, allocations: 356.9 kB / 0.7648 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/1.051, allocations: 57.59 kB / 0.7649 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/1.051, allocations: 316 kB / 0.7652 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/1.051, allocations: 33.67 kB / 0.7652 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.051, allocations: 184 kB / 0.7654 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/1.051, allocations: 52.94 kB / 0.7654 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/1.051, allocations: 45.52 kB / 0.7655 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.052, allocations: 338.3 kB / 0.7658 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/1.052, allocations: 88.67 kB / 0.7659 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/1.052, allocations: 149.7 kB / 0.766 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/1.052, allocations: 237.5 kB / 0.7663 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.052, allocations: 0.9375 kB / 0.7663 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000504/1.053, allocations: 281.1 kB / 0.7665 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.053, allocations: 7.062 kB / 0.7665 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.053, allocations: 2.312 kB / 0.7665 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.053, allocations: 2.781 kB / 0.7665 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/1.053, allocations: 45 kB / 0.7666 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.053, allocations: 3.25 kB / 0.7666 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/1.053, allocations: 34.36 kB / 0.7666 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/1.053, allocations: 12.69 kB / 0.7666 GB, free: 14.38 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001555/1.054, allocations: 154.4 kB / 0.7668 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/1.054, allocations: 31.5 kB / 0.7668 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007399/1.055, allocations: 311.6 kB / 0.7671 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.055, allocations: 1.781 kB / 0.7671 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.055, allocations: 4.578 kB / 0.7671 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.055, allocations: 0 / 0.7671 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/1.056, allocations: 0.8114 MB / 0.7679 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.056, allocations: 3.328 kB / 0.7679 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/1.056, allocations: 38.98 kB / 0.7679 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/1.056, allocations: 3.938 kB / 0.7679 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.056, allocations: 3.969 kB / 0.7679 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.056e-05/1.056, allocations: 10.16 kB / 0.768 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.056, allocations: 5.688 kB / 0.768 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/1.057, allocations: 397.4 kB / 0.7683 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/1.057, allocations: 136.1 kB / 0.7685 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/1.057, allocations: 10.83 kB / 0.7685 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/1.057, allocations: 16.05 kB / 0.7685 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/1.058, allocations: 18.61 kB / 0.7685 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/1.058, allocations: 8.031 kB / 0.7685 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002238/1.058, allocations: 232.6 kB / 0.7687 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.058, allocations: 96 / 0.7687 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000634/1.058, allocations: 118.7 kB / 0.7689 GB, free: 13.43 MB / 0.5919 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 (16): * Single equations (assignments): 16 * 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.0006134/1.059, allocations: 227.8 kB / 0.7691 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005102/1.06, allocations: 221.5 kB / 0.7693 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.06, allocations: 0 / 0.7693 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/1.06, allocations: 118.3 kB / 0.7694 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000792/1.061, allocations: 163.6 kB / 0.7695 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/1.062, allocations: 0.6028 MB / 0.7701 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/1.062, allocations: 0.7884 MB / 0.7709 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002826/1.062, allocations: 85.72 kB / 0.771 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.781e-05/1.063, allocations: 33.5 kB / 0.771 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/1.063, allocations: 0.75 kB / 0.771 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.01225/1.075, allocations: 7.275 MB / 0.7781 GB, free: 11.99 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)