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.005584/0.005584, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001221/0.001221, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.342/1.342, allocations: 222.9 MB / 240.4 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.8104/0.8104, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.56 kB / 0.5814 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1611, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5533/0.7144, allocations: 169.4 MB / 0.8251 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008296/0.7228, allocations: 7.134 MB / 0.8321 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005451/0.7233, allocations: 14.72 kB / 0.8321 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.724, allocations: 169.1 kB / 0.8323 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.7272, allocations: 1.264 MB / 0.8335 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.729, allocations: 0.6302 MB / 0.8341 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.7302, allocations: 0.7619 MB / 0.8349 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000639/0.7308, allocations: 284.8 kB / 0.8352 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.7325, allocations: 0.5871 MB / 0.8357 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009638/0.7335, allocations: 420.8 kB / 0.8361 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.658e-05/0.7336, allocations: 24.44 kB / 0.8362 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.736, allocations: 1.242 MB / 0.8374 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.7363, allocations: 111 kB / 0.8375 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.7366, allocations: 188.2 kB / 0.8377 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.7384, allocations: 0.9052 MB / 0.8385 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7384, allocations: 0 / 0.8385 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7384, allocations: 0 / 0.8385 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.7384, allocations: 3.938 kB / 0.8385 GB, free: 9.992 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.001278/0.7397, allocations: 0.7143 MB / 0.8392 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.7398, allocations: 7.5 kB / 0.8392 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.7408, allocations: 135.5 kB / 0.8394 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.7414, allocations: 349.7 kB / 0.8397 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.7415, allocations: 46.58 kB / 0.8398 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.7415, allocations: 25.94 kB / 0.8398 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.7421, allocations: 365.2 kB / 0.8401 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.7422, allocations: 6.406 kB / 0.8401 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.7422, allocations: 10.12 kB / 0.8401 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.7422, allocations: 10.19 kB / 0.8402 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.7427, allocations: 272.6 kB / 0.8404 GB, free: 8.543 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.001918/0.7446, allocations: 1.491 MB / 0.8419 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.745, allocations: 198 kB / 0.8421 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.7453, allocations: 111.4 kB / 0.8422 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008935/0.7462, allocations: 0.5056 MB / 0.8427 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.7462, allocations: 34.56 kB / 0.8427 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.965e-06/0.7462, allocations: 3.984 kB / 0.8427 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0009175/0.7471, allocations: 360.9 kB / 0.843 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.7472, allocations: 54.31 kB / 0.8431 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.7475, allocations: 315.7 kB / 0.8434 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.7475, allocations: 29.7 kB / 0.8434 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.7477, allocations: 186 kB / 0.8436 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.7477, allocations: 55.22 kB / 0.8436 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.7478, allocations: 43.42 kB / 0.8437 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.7479, allocations: 349.6 kB / 0.844 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.7481, allocations: 81.69 kB / 0.8441 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.7484, allocations: 150.9 kB / 0.8442 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.7488, allocations: 241.8 kB / 0.8445 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.7488, allocations: 2.375 kB / 0.8445 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005704/0.7494, allocations: 281.9 kB / 0.8447 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7494, allocations: 5.531 kB / 0.8448 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.7494, allocations: 6.203 kB / 0.8448 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.7494, allocations: 2.5 kB / 0.8448 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.7497, allocations: 44.58 kB / 0.8448 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.7497, allocations: 6.344 kB / 0.8448 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.7499, allocations: 38.23 kB / 0.8448 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.75, allocations: 7.625 kB / 0.8449 GB, free: 4.887 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.0001486/0.7501, allocations: 153.6 kB / 0.845 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.7502, allocations: 31.16 kB / 0.845 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006565/0.7509, allocations: 318.8 kB / 0.8453 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.7509, allocations: 2.438 kB / 0.8453 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7509, allocations: 0 / 0.8453 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7509, allocations: 0 / 0.8453 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.7521, allocations: 0.8121 MB / 0.8461 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.7522, allocations: 0 / 0.8461 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.7523, allocations: 39.28 kB / 0.8462 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.7523, allocations: 6.156 kB / 0.8462 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.7524, allocations: 9.656 kB / 0.8462 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.7524, allocations: 6.031 kB / 0.8462 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7524, allocations: 2.469 kB / 0.8462 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.753, allocations: 404.9 kB / 0.8466 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.7532, allocations: 137.2 kB / 0.8467 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.7533, allocations: 6.156 kB / 0.8467 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.7535, allocations: 11.95 kB / 0.8467 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.7536, allocations: 17.36 kB / 0.8467 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.7536, allocations: 7.75 kB / 0.8467 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002373/0.7539, allocations: 230.7 kB / 0.847 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7539, allocations: 0 / 0.847 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005892/0.7545, allocations: 128.7 kB / 0.8471 GB, free: 3.219 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.00071/0.7552, allocations: 231 kB / 0.8473 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005412/0.7557, allocations: 224.7 kB / 0.8475 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7557, allocations: 0 / 0.8475 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.756, allocations: 118.9 kB / 0.8476 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000881/0.7569, allocations: 163.8 kB / 0.8478 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.7579, allocations: 0.6036 MB / 0.8484 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.7582, allocations: 0.7846 MB / 0.8491 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000267/0.7585, allocations: 88.22 kB / 0.8492 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.7586, allocations: 31.25 kB / 0.8493 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.7586, allocations: 0 / 0.8493 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.01327/0.7719, allocations: 7.305 MB / 0.8564 GB, free: 11.97 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)