Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009696/0.0009696, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9708/0.9708, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 12 kB / 0.5082 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1572, allocations: 82.31 MB / 0.5886 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5023/0.6595, allocations: 165 MB / 0.7498 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009105/0.6687, allocations: 7.111 MB / 0.7567 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006051/0.6693, allocations: 9.25 kB / 0.7567 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006421/0.67, allocations: 133.8 kB / 0.7568 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.6736, allocations: 1.189 MB / 0.758 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.6754, allocations: 0.5711 MB / 0.7586 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.6767, allocations: 1.05 MB / 0.7596 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.6772, allocations: 244.4 kB / 0.7598 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.6785, allocations: 0.5172 MB / 0.7603 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008565/0.6794, allocations: 428.3 kB / 0.7607 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.6794, allocations: 17.19 kB / 0.7608 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.6821, allocations: 1.462 MB / 0.7622 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.6823, allocations: 99.7 kB / 0.7623 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.6825, allocations: 200.8 kB / 0.7625 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.6836, allocations: 0.6274 MB / 0.7631 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6836, allocations: 0 / 0.7631 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6836, allocations: 0 / 0.7631 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.6836, allocations: 0 / 0.7631 GB, free: 9.82 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.001035/0.6847, allocations: 0.6311 MB / 0.7637 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.6847, allocations: 8.031 kB / 0.7637 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009822/0.6857, allocations: 131.3 kB / 0.7638 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.6862, allocations: 329.1 kB / 0.7641 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.161e-05/0.6863, allocations: 50.27 kB / 0.7642 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.6863, allocations: 24 kB / 0.7642 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000682/0.687, allocations: 386.1 kB / 0.7646 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.687, allocations: 0 / 0.7646 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.6871, allocations: 12 kB / 0.7646 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.6871, allocations: 7.938 kB / 0.7646 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005513/0.6876, allocations: 286 kB / 0.7649 GB, free: 7.871 MB / 0.5762 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.001932/0.6896, allocations: 1.503 MB / 0.7663 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.69, allocations: 202.5 kB / 0.7665 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.6902, allocations: 116.8 kB / 0.7666 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.6913, allocations: 0.517 MB / 0.7671 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.6913, allocations: 38.56 kB / 0.7672 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.6913, allocations: 0 / 0.7672 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009842/0.6923, allocations: 377 kB / 0.7675 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.6924, allocations: 55.41 kB / 0.7676 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.6927, allocations: 312.5 kB / 0.7679 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.6928, allocations: 29.7 kB / 0.7679 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.6929, allocations: 180.1 kB / 0.7681 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.693, allocations: 55.28 kB / 0.7681 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.693, allocations: 21.7 kB / 0.7682 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6932, allocations: 346.8 kB / 0.7685 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.6934, allocations: 95.92 kB / 0.7686 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.6936, allocations: 151.7 kB / 0.7687 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.6941, allocations: 254.2 kB / 0.769 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6941, allocations: 4 kB / 0.769 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005995/0.6947, allocations: 293.1 kB / 0.7693 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6948, allocations: 4 kB / 0.7693 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6948, allocations: 0.75 kB / 0.7693 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.6948, allocations: 4 kB / 0.7693 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.695, allocations: 47.91 kB / 0.7693 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.695, allocations: 0 / 0.7693 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.6953, allocations: 43.8 kB / 0.7694 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.6953, allocations: 15.94 kB / 0.7694 GB, free: 2.926 MB / 0.5762 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.0001808/0.6955, allocations: 153.7 kB / 0.7695 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.6956, allocations: 31.7 kB / 0.7696 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007413/0.6964, allocations: 324.6 kB / 0.7699 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6964, allocations: 0 / 0.7699 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.6964, allocations: 3.938 kB / 0.7699 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6964, allocations: 4 kB / 0.7699 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.6977, allocations: 0.8199 MB / 0.7707 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6977, allocations: 0 / 0.7707 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.6979, allocations: 39.92 kB / 0.7707 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.6979, allocations: 11.88 kB / 0.7707 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.698, allocations: 7.984 kB / 0.7707 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.698, allocations: 4 kB / 0.7707 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.698, allocations: 224 / 0.7707 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.6986, allocations: 413 kB / 0.7711 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.6987, allocations: 140.6 kB / 0.7713 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.6988, allocations: 7.984 kB / 0.7713 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.6991, allocations: 27.98 kB / 0.7713 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.6991, allocations: 15.92 kB / 0.7713 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.6992, allocations: 15.98 kB / 0.7713 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002535/0.6994, allocations: 223.1 kB / 0.7715 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6994, allocations: 0 / 0.7715 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005238/0.7, allocations: 123.8 kB / 0.7717 GB, free: 464 kB / 0.5762 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.0005438/0.7005, allocations: 230.8 kB / 0.7719 GB, free: 236 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000508/0.701, allocations: 235.8 kB / 0.7721 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7011, allocations: 0 / 0.7721 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.7013, allocations: 119.9 kB / 0.7722 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/0.7023, allocations: 150 kB / 0.7724 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.7034, allocations: 0.7634 MB / 0.7731 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.7038, allocations: 0.7876 MB / 0.7739 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.7039, allocations: 27.44 kB / 0.7739 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.7039, allocations: 0 / 0.7739 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of Templates: time 0.009404/0.7133, allocations: 6.193 MB / 0.7799 GB, free: 7.961 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)