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.001101/0.001101, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001175/0.001175, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 8 kB / 0.507 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1784, allocations: 82.31 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5279/0.7063, allocations: 153.9 MB / 0.7377 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009585/0.716, allocations: 6.64 MB / 0.7442 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007047/0.7167, allocations: 14.75 kB / 0.7442 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.7173, allocations: 121 kB / 0.7443 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003113/0.7204, allocations: 0.841 MB / 0.7451 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.7222, allocations: 477.1 kB / 0.7456 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.7235, allocations: 0.8959 MB / 0.7465 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004277/0.7239, allocations: 223.9 kB / 0.7467 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.7251, allocations: 479.6 kB / 0.7471 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008416/0.7259, allocations: 393.8 kB / 0.7475 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.726, allocations: 16.12 kB / 0.7475 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.7277, allocations: 0.6342 MB / 0.7481 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.7279, allocations: 105.7 kB / 0.7482 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.728, allocations: 90.75 kB / 0.7483 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007215/0.7287, allocations: 0.5192 MB / 0.7488 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7287, allocations: 0 / 0.7488 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7287, allocations: 3.938 kB / 0.7488 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.7288, allocations: 0 / 0.7488 GB, free: 6.805 MB / 0.5606 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.0009873/0.7297, allocations: 0.6371 MB / 0.7495 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7298, allocations: 12.09 kB / 0.7495 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009325/0.7307, allocations: 128.4 kB / 0.7496 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.7312, allocations: 315.3 kB / 0.7499 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.7313, allocations: 51.08 kB / 0.7499 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.7313, allocations: 26.25 kB / 0.75 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.732, allocations: 379.2 kB / 0.7503 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.732, allocations: 0 / 0.7503 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.7321, allocations: 11.5 kB / 0.7503 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.7321, allocations: 8.922 kB / 0.7504 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.7326, allocations: 283.1 kB / 0.7506 GB, free: 5.445 MB / 0.5606 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.001883/0.7345, allocations: 1.501 MB / 0.7521 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.7349, allocations: 200.6 kB / 0.7523 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.7351, allocations: 116.8 kB / 0.7524 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.7361, allocations: 0.5209 MB / 0.7529 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.7362, allocations: 38.56 kB / 0.7529 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.7362, allocations: 0 / 0.7529 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0009592/0.7371, allocations: 376.4 kB / 0.7533 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.7372, allocations: 55.41 kB / 0.7533 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.7375, allocations: 312.5 kB / 0.7536 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.7376, allocations: 29.7 kB / 0.7537 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.7377, allocations: 180.2 kB / 0.7538 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.7378, allocations: 55.14 kB / 0.7539 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.7378, allocations: 8 kB / 0.7539 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7379, allocations: 342.8 kB / 0.7542 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.7381, allocations: 91.89 kB / 0.7543 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.7384, allocations: 150.5 kB / 0.7545 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.7386, allocations: 105 kB / 0.7546 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7386, allocations: 4 kB / 0.7546 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005573/0.7392, allocations: 296.9 kB / 0.7549 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.7392, allocations: 8 kB / 0.7549 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7392, allocations: 0 / 0.7549 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.7392, allocations: 12.06 kB / 0.7549 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.7395, allocations: 43.91 kB / 0.7549 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.7395, allocations: 4 kB / 0.7549 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.7398, allocations: 39.72 kB / 0.755 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.7398, allocations: 23.97 kB / 0.755 GB, free: 0.9922 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.74, allocations: 153.7 kB / 0.7551 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.7401, allocations: 27.72 kB / 0.7551 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/0.7408, allocations: 321.4 kB / 0.7555 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7408, allocations: 4 kB / 0.7555 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7408, allocations: 0 / 0.7555 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.7408, allocations: 0 / 0.7555 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.7422, allocations: 0.8161 MB / 0.7563 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.7422, allocations: 0 / 0.7563 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.7424, allocations: 44.12 kB / 0.7563 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.7424, allocations: 4 kB / 0.7563 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.7424, allocations: 8 kB / 0.7563 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.7424, allocations: 8.812 kB / 0.7563 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7424, allocations: 4 kB / 0.7563 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.743, allocations: 404.9 kB / 0.7567 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.7432, allocations: 144.6 kB / 0.7568 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.7432, allocations: 4 kB / 0.7568 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.7435, allocations: 23.98 kB / 0.7569 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.7436, allocations: 15.94 kB / 0.7569 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.7436, allocations: 19.98 kB / 0.7569 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002438/0.7439, allocations: 230.9 kB / 0.7571 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7439, allocations: 0 / 0.7571 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005443/0.7444, allocations: 111.8 kB / 0.7572 GB, free: 14.53 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005166/0.7449, allocations: 204.8 kB / 0.7574 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005232/0.7455, allocations: 234.1 kB / 0.7577 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7455, allocations: 96 / 0.7577 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.7457, allocations: 128.5 kB / 0.7578 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008558/0.7466, allocations: 152.2 kB / 0.7579 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.7478, allocations: 0.7036 MB / 0.7586 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.7482, allocations: 0.7836 MB / 0.7594 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003018/0.7485, allocations: 85.8 kB / 0.7595 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.7486, allocations: 27.44 kB / 0.7595 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.7486, allocations: 0 / 0.7595 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.01281/0.7614, allocations: 6.763 MB / 0.7661 GB, free: 5.508 MB / 0.5762 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)