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.001429/0.001429, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001529/0.001529, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7565/0.7565, allocations: 132.2 MB / 423.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 72.34 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.149, allocations: 80.21 MB / 0.6603 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5896/0.7386, allocations: 169.4 MB / 0.8258 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009867/0.7485, allocations: 7.14 MB / 0.8328 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007851/0.7494, allocations: 10.78 kB / 0.8328 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007842/0.7502, allocations: 161.1 kB / 0.8329 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.7543, allocations: 1.266 MB / 0.8342 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.7562, allocations: 0.6333 MB / 0.8348 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.7574, allocations: 0.7591 MB / 0.8355 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005751/0.758, allocations: 294.5 kB / 0.8358 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.7595, allocations: 0.5764 MB / 0.8364 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.7607, allocations: 428.3 kB / 0.8368 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.7608, allocations: 25.62 kB / 0.8368 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.7633, allocations: 1.247 MB / 0.838 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.7635, allocations: 113.7 kB / 0.8381 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.7637, allocations: 177.7 kB / 0.8383 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.7657, allocations: 0.9134 MB / 0.8392 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7657, allocations: 0 / 0.8392 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7657, allocations: 0 / 0.8392 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.7657, allocations: 3.938 kB / 0.8392 GB, free: 10.1 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001305/0.767, allocations: 0.6916 MB / 0.8399 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.7671, allocations: 13.44 kB / 0.8399 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.7682, allocations: 133.3 kB / 0.84 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/0.7688, allocations: 341.5 kB / 0.8404 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.333e-05/0.7689, allocations: 52.95 kB / 0.8404 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.769, allocations: 23.72 kB / 0.8404 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.7697, allocations: 371.5 kB / 0.8408 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.7697, allocations: 0 / 0.8408 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.7698, allocations: 10.22 kB / 0.8408 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.7698, allocations: 15.69 kB / 0.8408 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.7703, allocations: 267 kB / 0.8411 GB, free: 8.676 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.002043/0.7723, allocations: 1.49 MB / 0.8425 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.7728, allocations: 193.6 kB / 0.8427 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.773, allocations: 117.6 kB / 0.8428 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.774, allocations: 0.5028 MB / 0.8433 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.7741, allocations: 33.44 kB / 0.8433 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.7741, allocations: 0 / 0.8433 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001017/0.7751, allocations: 362.7 kB / 0.8437 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.7751, allocations: 53.5 kB / 0.8437 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.7755, allocations: 312.5 kB / 0.844 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.7755, allocations: 31.8 kB / 0.8441 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.7757, allocations: 185.7 kB / 0.8442 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.7757, allocations: 48.55 kB / 0.8443 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.7758, allocations: 47.22 kB / 0.8443 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.776, allocations: 346.5 kB / 0.8447 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.7762, allocations: 84.88 kB / 0.8447 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.7764, allocations: 146.5 kB / 0.8449 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.7768, allocations: 234.4 kB / 0.8451 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7768, allocations: 0 / 0.8451 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005948/0.7774, allocations: 288 kB / 0.8454 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.7775, allocations: 9.625 kB / 0.8454 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.7775, allocations: 2.094 kB / 0.8454 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.7775, allocations: 2.594 kB / 0.8454 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.7777, allocations: 46.47 kB / 0.8454 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.7778, allocations: 2.094 kB / 0.8454 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.778, allocations: 32.27 kB / 0.8455 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.7781, allocations: 18.59 kB / 0.8455 GB, free: 5.027 MB / 0.6075 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.0001724/0.7782, allocations: 153.6 kB / 0.8456 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.7784, allocations: 27.89 kB / 0.8457 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007165/0.7791, allocations: 315.9 kB / 0.846 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.7791, allocations: 0 / 0.846 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7791, allocations: 0 / 0.846 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7791, allocations: 6.375 kB / 0.846 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.7805, allocations: 0.8095 MB / 0.8468 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.7806, allocations: 2.75 kB / 0.8468 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.7808, allocations: 32.77 kB / 0.8468 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.7808, allocations: 6.5 kB / 0.8468 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.7808, allocations: 13.08 kB / 0.8468 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7808, allocations: 5.156 kB / 0.8468 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.7808, allocations: 4.812 kB / 0.8468 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.7815, allocations: 401.5 kB / 0.8472 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.7817, allocations: 140.5 kB / 0.8473 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.7817, allocations: 6.359 kB / 0.8473 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.782, allocations: 15.73 kB / 0.8474 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.782, allocations: 19.89 kB / 0.8474 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.7821, allocations: 9.375 kB / 0.8474 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002245/0.7823, allocations: 226.5 kB / 0.8476 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7823, allocations: 0 / 0.8476 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005702/0.7829, allocations: 122.6 kB / 0.8477 GB, free: 3.371 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 (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.0006332/0.7835, allocations: 219.7 kB / 0.8479 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.7841, allocations: 232 kB / 0.8481 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7841, allocations: 4.125 kB / 0.8482 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.7843, allocations: 118.3 kB / 0.8483 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.7852, allocations: 158.2 kB / 0.8484 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.7864, allocations: 0.6247 MB / 0.849 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.7868, allocations: 0.7825 MB / 0.8498 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.787, allocations: 38.16 kB / 0.8498 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.787, allocations: 0 / 0.8498 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of Templates: time 0.01122/0.7982, allocations: 6.275 MB / 0.856 GB, free: 13.17 MB / 0.6231 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)