Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009685/0.0009686, allocations: 175.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4487/0.4487, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.3 MB / 348.4 MB, free: 5.023 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008016/0.0008016, allocations: 91.27 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003809, allocations: 15.98 kB / 0.4901 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3043, allocations: 71.02 MB / 0.5595 GB, free: 43.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.339/3.643, allocations: 1.821 GB / 2.38 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/3.643, allocations: 91.95 kB / 2.381 GB, free: 120 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8296/4.473, allocations: 306 MB / 2.679 GB, free: 39.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.845e-06/4.473, allocations: 0 / 2.679 GB, free: 39.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.78e-05/4.473, allocations: 4 kB / 2.679 GB, free: 39.91 MB / 0.5886 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.00187/4.475, allocations: 0.7608 MB / 2.68 GB, free: 39.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/4.475, allocations: 12.03 kB / 2.68 GB, free: 39.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/4.476, allocations: 128.3 kB / 2.68 GB, free: 38.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/4.477, allocations: 339.2 kB / 2.681 GB, free: 38.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/4.477, allocations: 54.83 kB / 2.681 GB, free: 38.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/4.477, allocations: 24.38 kB / 2.681 GB, free: 38.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/4.478, allocations: 366.5 kB / 2.681 GB, free: 38.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/4.478, allocations: 4 kB / 2.681 GB, free: 38.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/4.478, allocations: 8 kB / 2.681 GB, free: 38.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/4.478, allocations: 11.94 kB / 2.681 GB, free: 38.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/4.479, allocations: 258 kB / 2.681 GB, free: 37.86 MB / 0.5886 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.002146/4.481, allocations: 1.48 MB / 2.683 GB, free: 36.24 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/4.482, allocations: 190.5 kB / 2.683 GB, free: 36.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/4.482, allocations: 112.8 kB / 2.683 GB, free: 35.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/4.483, allocations: 0.5052 MB / 2.684 GB, free: 35.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/4.483, allocations: 34.55 kB / 2.684 GB, free: 35.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.375e-06/4.483, allocations: 0 / 2.684 GB, free: 35.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.001431/4.485, allocations: 354.5 kB / 2.684 GB, free: 34.94 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/4.485, allocations: 55.34 kB / 2.684 GB, free: 34.88 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/4.485, allocations: 316.4 kB / 2.684 GB, free: 34.55 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/4.485, allocations: 37.64 kB / 2.684 GB, free: 34.51 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/4.486, allocations: 184.1 kB / 2.684 GB, free: 34.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/4.486, allocations: 51.28 kB / 2.685 GB, free: 34.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/4.486, allocations: 4 kB / 2.685 GB, free: 34.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/4.486, allocations: 346.8 kB / 2.685 GB, free: 33.92 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/4.486, allocations: 83.94 kB / 2.685 GB, free: 33.84 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/4.486, allocations: 159.6 kB / 2.685 GB, free: 33.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/4.487, allocations: 234.8 kB / 2.685 GB, free: 33.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/4.487, allocations: 4 kB / 2.685 GB, free: 33.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009042/4.488, allocations: 287.8 kB / 2.686 GB, free: 33.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/4.488, allocations: 4 kB / 2.686 GB, free: 33.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/4.488, allocations: 0 / 2.686 GB, free: 33.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/4.488, allocations: 4 kB / 2.686 GB, free: 33.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/4.489, allocations: 44.09 kB / 2.686 GB, free: 33.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/4.489, allocations: 11.94 kB / 2.686 GB, free: 33.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/4.489, allocations: 47.66 kB / 2.686 GB, free: 33.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/4.489, allocations: 8 kB / 2.686 GB, free: 33 MB / 0.5886 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.0001992/4.489, allocations: 158.2 kB / 2.686 GB, free: 32.84 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/4.489, allocations: 27.72 kB / 2.686 GB, free: 32.81 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/4.491, allocations: 310.4 kB / 2.686 GB, free: 32.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/4.491, allocations: 0 / 2.686 GB, free: 32.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/4.491, allocations: 3.938 kB / 2.686 GB, free: 32.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/4.491, allocations: 7.984 kB / 2.686 GB, free: 32.49 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/4.492, allocations: 0.7927 MB / 2.687 GB, free: 31.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/4.492, allocations: 12.2 kB / 2.687 GB, free: 31.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/4.493, allocations: 35.92 kB / 2.687 GB, free: 31.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/4.493, allocations: 4 kB / 2.687 GB, free: 31.57 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/4.493, allocations: 4 kB / 2.687 GB, free: 31.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/4.493, allocations: 3.984 kB / 2.687 GB, free: 31.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/4.493, allocations: 4 kB / 2.687 GB, free: 31.56 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/4.494, allocations: 408.9 kB / 2.687 GB, free: 31.12 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/4.494, allocations: 140.7 kB / 2.688 GB, free: 30.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/4.494, allocations: 7.938 kB / 2.688 GB, free: 30.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/4.494, allocations: 32 kB / 2.688 GB, free: 30.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/4.494, allocations: 19.92 kB / 2.688 GB, free: 30.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/4.495, allocations: 19.92 kB / 2.688 GB, free: 30.89 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002984/4.495, allocations: 223.1 kB / 2.688 GB, free: 30.67 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.383e-06/4.495, allocations: 0 / 2.688 GB, free: 30.67 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001244/4.496, allocations: 227.7 kB / 2.688 GB, free: 30.45 MB / 0.5886 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.002048/4.498, allocations: 1.225 MB / 2.689 GB, free: 29.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007275/4.499, allocations: 220.7 kB / 2.689 GB, free: 28.98 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/4.499, allocations: 4.125 kB / 2.689 GB, free: 28.98 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/4.499, allocations: 119.8 kB / 2.69 GB, free: 28.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/4.501, allocations: 147.5 kB / 2.69 GB, free: 28.72 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/4.502, allocations: 0.6937 MB / 2.69 GB, free: 27.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/4.503, allocations: 0.7836 MB / 2.691 GB, free: 27.17 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005402/4.503, allocations: 86.95 kB / 2.691 GB, free: 27.08 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/4.503, allocations: 27.42 kB / 2.691 GB, free: 27.05 MB / 0.5886 GB Notification: Performance of SimCode: time 4.9e-07/4.503, allocations: 0 / 2.691 GB, free: 27.05 MB / 0.5886 GB Notification: Performance of Templates: time 0.04548/4.549, allocations: 21.25 MB / 2.712 GB, free: 5.871 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)