Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7639/0.7639, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 185.7 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 426.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007502/0.0007502, allocations: 90.36 kB / 0.4945 GB, free: 8.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001657/0.001657, allocations: 270.9 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007407/0.0007408, allocations: 19.98 kB / 0.662 GB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3616, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.133/4.495, allocations: 2.034 GB / 2.773 GB, free: 176.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/4.496, allocations: 91.94 kB / 2.773 GB, free: 176.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9538/5.449, allocations: 303.4 MB / 3.07 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.515e-06/5.449, allocations: 3.938 kB / 3.07 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.971e-05/5.449, allocations: 8 kB / 3.07 GB, free: 130.8 MB / 0.6667 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.001791/5.451, allocations: 0.7482 MB / 3.07 GB, free: 130 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/5.451, allocations: 12.03 kB / 3.07 GB, free: 130 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/5.452, allocations: 124.3 kB / 3.07 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/5.453, allocations: 351.3 kB / 3.071 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.392e-05/5.453, allocations: 54.83 kB / 3.071 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/5.453, allocations: 24.38 kB / 3.071 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/5.454, allocations: 366.4 kB / 3.071 GB, free: 129 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/5.454, allocations: 4 kB / 3.071 GB, free: 129 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/5.454, allocations: 11.94 kB / 3.071 GB, free: 129 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/5.454, allocations: 8 kB / 3.071 GB, free: 129 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/5.454, allocations: 262 kB / 3.071 GB, free: 128.8 MB / 0.6667 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.001531/5.456, allocations: 1.48 MB / 3.073 GB, free: 127.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/5.456, allocations: 186.6 kB / 3.073 GB, free: 127 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/5.456, allocations: 112.8 kB / 3.073 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000718/5.457, allocations: 0.5014 MB / 3.074 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/5.457, allocations: 30.56 kB / 3.074 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 4.087e-06/5.457, allocations: 0 / 3.074 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0008473/5.458, allocations: 363 kB / 3.074 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/5.458, allocations: 51.41 kB / 3.074 GB, free: 125.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/5.458, allocations: 316.5 kB / 3.074 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/5.458, allocations: 29.7 kB / 3.074 GB, free: 125.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/5.459, allocations: 188 kB / 3.075 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/5.459, allocations: 55.2 kB / 3.075 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/5.459, allocations: 4 kB / 3.075 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/5.459, allocations: 342.8 kB / 3.075 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/5.459, allocations: 86.69 kB / 3.075 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/5.459, allocations: 162.2 kB / 3.075 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/5.459, allocations: 231 kB / 3.075 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/5.459, allocations: 4 kB / 3.075 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005076/5.46, allocations: 290 kB / 3.076 GB, free: 124 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/5.46, allocations: 4 kB / 3.076 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/5.46, allocations: 0 / 3.076 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/5.46, allocations: 4 kB / 3.076 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/5.46, allocations: 44.17 kB / 3.076 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/5.46, allocations: 7.984 kB / 3.076 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/5.46, allocations: 47.55 kB / 3.076 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/5.461, allocations: 12 kB / 3.076 GB, free: 123.9 MB / 0.6667 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.0001472/5.461, allocations: 157.7 kB / 3.076 GB, free: 123.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/5.461, allocations: 31.62 kB / 3.076 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006667/5.461, allocations: 320.1 kB / 3.076 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/5.461, allocations: 0 / 3.076 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/5.461, allocations: 3.938 kB / 3.076 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/5.461, allocations: 7.984 kB / 3.076 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/5.463, allocations: 0.8004 MB / 3.077 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/5.463, allocations: 4.219 kB / 3.077 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/5.463, allocations: 35.98 kB / 3.077 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/5.463, allocations: 4 kB / 3.077 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/5.463, allocations: 11.98 kB / 3.077 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/5.463, allocations: 0 / 3.077 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/5.463, allocations: 7.938 kB / 3.077 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/5.463, allocations: 408.2 kB / 3.078 GB, free: 122 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/5.463, allocations: 128.7 kB / 3.078 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/5.464, allocations: 11.98 kB / 3.078 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/5.464, allocations: 19.98 kB / 3.078 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/5.464, allocations: 19.98 kB / 3.078 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/5.464, allocations: 15.92 kB / 3.078 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001723/5.464, allocations: 231 kB / 3.078 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/5.464, allocations: 0 / 3.078 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008653/5.465, allocations: 223.8 kB / 3.078 GB, free: 121.4 MB / 0.6667 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.001837/5.467, allocations: 1.234 MB / 3.079 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004594/5.467, allocations: 219.7 kB / 3.08 GB, free: 119.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/5.467, allocations: 0 / 3.08 GB, free: 119.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/5.467, allocations: 124.6 kB / 3.08 GB, free: 119.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/5.468, allocations: 148.9 kB / 3.08 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/5.469, allocations: 0.6902 MB / 3.081 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/5.47, allocations: 0.7836 MB / 3.081 GB, free: 118.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003279/5.47, allocations: 82.81 kB / 3.081 GB, free: 118 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/5.47, allocations: 31.44 kB / 3.081 GB, free: 118 MB / 0.6667 GB Notification: Performance of SimCode: time 1.232e-06/5.47, allocations: 0 / 3.081 GB, free: 118 MB / 0.6667 GB Notification: Performance of Templates: time 0.02624/5.496, allocations: 21.25 MB / 3.102 GB, free: 96.74 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)