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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7334/0.7334, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 403.4 MB, free: 7.043 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 105.6 kB / 484.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1413, allocations: 80.19 MB / 0.6402 GB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4836/0.625, allocations: 167.2 MB / 0.8034 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008137/0.6331, allocations: 7.198 MB / 0.8105 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.6336, allocations: 7.938 kB / 0.8105 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.634, allocations: 131.1 kB / 0.8106 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.6368, allocations: 1.199 MB / 0.8118 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.6383, allocations: 0.5741 MB / 0.8123 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0009948/0.6393, allocations: 1.068 MB / 0.8134 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.6396, allocations: 238.1 kB / 0.8136 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009655/0.6406, allocations: 0.537 MB / 0.8141 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007097/0.6413, allocations: 422.6 kB / 0.8145 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.6414, allocations: 20 kB / 0.8146 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.6435, allocations: 1.469 MB / 0.816 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.6436, allocations: 107.6 kB / 0.8161 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.6438, allocations: 175.1 kB / 0.8163 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.645, allocations: 0.9738 MB / 0.8172 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6451, allocations: 0 / 0.8172 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.41e-07/0.6451, allocations: 0 / 0.8172 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.6451, allocations: 0 / 0.8172 GB, free: 13.86 MB / 0.5573 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.0009479/0.646, allocations: 0.6974 MB / 0.8179 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.6461, allocations: 8.031 kB / 0.8179 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009369/0.647, allocations: 135.3 kB / 0.818 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.6474, allocations: 329.1 kB / 0.8183 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.6475, allocations: 46.27 kB / 0.8184 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.6476, allocations: 31.98 kB / 0.8184 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.6482, allocations: 370.1 kB / 0.8188 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6482, allocations: 0 / 0.8188 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.6483, allocations: 12 kB / 0.8188 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.6483, allocations: 8 kB / 0.8188 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.6488, allocations: 277.9 kB / 0.8191 GB, free: 11.86 MB / 0.5573 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.001816/0.6506, allocations: 1.496 MB / 0.8205 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.651, allocations: 194.6 kB / 0.8207 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.6513, allocations: 119.5 kB / 0.8208 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009424/0.6522, allocations: 0.5052 MB / 0.8213 GB, free: 9.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.6523, allocations: 38.5 kB / 0.8213 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.6523, allocations: 0 / 0.8213 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0008954/0.6532, allocations: 354.2 kB / 0.8217 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.6532, allocations: 59.39 kB / 0.8217 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.6535, allocations: 316.5 kB / 0.822 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.6536, allocations: 25.7 kB / 0.8221 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.6537, allocations: 184.1 kB / 0.8222 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.6538, allocations: 51.3 kB / 0.8223 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.6538, allocations: 45.61 kB / 0.8223 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.654, allocations: 342.8 kB / 0.8227 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.6542, allocations: 91.92 kB / 0.8228 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.6544, allocations: 151.6 kB / 0.8229 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.6548, allocations: 239.8 kB / 0.8231 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6548, allocations: 0 / 0.8231 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005612/0.6554, allocations: 273.1 kB / 0.8234 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6554, allocations: 13.66 kB / 0.8234 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6554, allocations: 0 / 0.8234 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6555, allocations: 4 kB / 0.8234 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.6557, allocations: 44.16 kB / 0.8234 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.6557, allocations: 0 / 0.8234 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.6559, allocations: 39.67 kB / 0.8235 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.656, allocations: 10.19 kB / 0.8235 GB, free: 6.98 MB / 0.5573 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.0001557/0.6562, allocations: 163 kB / 0.8236 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.6563, allocations: 31.62 kB / 0.8237 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/0.657, allocations: 313.4 kB / 0.824 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.657, allocations: 0 / 0.824 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.657, allocations: 8 kB / 0.824 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.657, allocations: 3.938 kB / 0.824 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.6584, allocations: 0.8004 MB / 0.8248 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.6584, allocations: 4 kB / 0.8248 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.6586, allocations: 44.12 kB / 0.8248 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.6586, allocations: 7.938 kB / 0.8248 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.6586, allocations: 4 kB / 0.8248 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6586, allocations: 4 kB / 0.8248 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6586, allocations: 3.938 kB / 0.8248 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.6598, allocations: 1.121 MB / 0.8259 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.66, allocations: 132.8 kB / 0.8261 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.66, allocations: 4 kB / 0.8261 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.6603, allocations: 24.06 kB / 0.8261 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.6603, allocations: 23.8 kB / 0.8261 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.6604, allocations: 12 kB / 0.8261 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000215/0.6606, allocations: 231 kB / 0.8263 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6606, allocations: 0 / 0.8263 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006178/0.6612, allocations: 123.8 kB / 0.8265 GB, free: 3.758 MB / 0.5573 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.0005581/0.6618, allocations: 227.7 kB / 0.8267 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.6623, allocations: 217.9 kB / 0.8269 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6623, allocations: 0 / 0.8269 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.6625, allocations: 119.8 kB / 0.827 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.6634, allocations: 156.6 kB / 0.8271 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.6646, allocations: 0.8592 MB / 0.828 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.6649, allocations: 0.7876 MB / 0.8288 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002964/0.6652, allocations: 82.86 kB / 0.8288 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.6653, allocations: 35.42 kB / 0.8289 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of SimCode: time 3.41e-07/0.6653, allocations: 4 kB / 0.8289 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of Templates: time 0.01167/0.677, allocations: 7.122 MB / 0.8358 GB, free: 10.14 MB / 0.573 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)