Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9132/0.9132, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 177 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.2 MB / 447.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 98.22 kB / 0.5188 GB, free: 1.109 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001771, allocations: 269.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 17.5 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1964, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.889/5.086, allocations: 1.829 GB / 2.602 GB, free: 248.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/5.086, allocations: 90.89 kB / 2.603 GB, free: 248.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.449/6.534, allocations: 430.5 MB / 3.023 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.715e-06/6.535, allocations: 0 / 3.023 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.56e-05/6.535, allocations: 19.98 kB / 3.023 GB, free: 105.2 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00349/6.538, allocations: 1.069 MB / 3.024 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/6.538, allocations: 11.97 kB / 3.024 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/6.541, allocations: 275 kB / 3.024 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/6.542, allocations: 471.9 kB / 3.025 GB, free: 103.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/6.542, allocations: 33 kB / 3.025 GB, free: 103.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/6.542, allocations: 44 kB / 3.025 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/6.543, allocations: 0.5507 MB / 3.025 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/6.543, allocations: 7.938 kB / 3.025 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/6.543, allocations: 16 kB / 3.025 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/6.543, allocations: 8 kB / 3.025 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/6.544, allocations: 467.6 kB / 3.026 GB, free: 102.1 MB / 0.7136 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.003068/6.547, allocations: 2.139 MB / 3.028 GB, free: 99.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/6.548, allocations: 426.4 kB / 3.028 GB, free: 99.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/6.549, allocations: 392.4 kB / 3.029 GB, free: 98.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005769/6.55, allocations: 302.7 kB / 3.029 GB, free: 98.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 3.617e-06/6.55, allocations: 0 / 3.029 GB, free: 98.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.001798/6.551, allocations: 0.7132 MB / 3.03 GB, free: 97.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/6.552, allocations: 59.41 kB / 3.03 GB, free: 97.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/6.552, allocations: 437.2 kB / 3.03 GB, free: 97.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/6.552, allocations: 37.7 kB / 3.03 GB, free: 97.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/6.552, allocations: 264.3 kB / 3.03 GB, free: 97.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/6.553, allocations: 122.3 kB / 3.031 GB, free: 97.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/6.553, allocations: 8 kB / 3.031 GB, free: 97.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001106/6.553, allocations: 366.8 kB / 3.031 GB, free: 96.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/6.553, allocations: 208.8 kB / 3.031 GB, free: 96.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/6.554, allocations: 334.7 kB / 3.031 GB, free: 96.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/6.554, allocations: 284.7 kB / 3.032 GB, free: 95.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/6.554, allocations: 0 / 3.032 GB, free: 95.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001234/6.555, allocations: 0.6601 MB / 3.032 GB, free: 95.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/6.556, allocations: 67.39 kB / 3.032 GB, free: 95.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/6.556, allocations: 8.25 kB / 3.032 GB, free: 95.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/6.556, allocations: 11.95 kB / 3.032 GB, free: 95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/6.556, allocations: 99.81 kB / 3.033 GB, free: 94.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/6.556, allocations: 4 kB / 3.033 GB, free: 94.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/6.557, allocations: 99.38 kB / 3.033 GB, free: 94.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/6.557, allocations: 24 kB / 3.033 GB, free: 94.78 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002771/6.557, allocations: 195.3 kB / 3.033 GB, free: 94.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/6.557, allocations: 55.34 kB / 3.033 GB, free: 94.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/6.558, allocations: 0.549 MB / 3.033 GB, free: 93.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/6.558, allocations: 3.953 kB / 3.033 GB, free: 93.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/6.558, allocations: 4 kB / 3.033 GB, free: 93.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/6.558, allocations: 3.984 kB / 3.033 GB, free: 93.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/6.561, allocations: 1.355 MB / 3.035 GB, free: 92.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/6.561, allocations: 4.438 kB / 3.035 GB, free: 92.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/6.561, allocations: 87.81 kB / 3.035 GB, free: 92.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/6.561, allocations: 7.938 kB / 3.035 GB, free: 92.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/6.561, allocations: 12 kB / 3.035 GB, free: 92.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/6.561, allocations: 4 kB / 3.035 GB, free: 92.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/6.561, allocations: 4 kB / 3.035 GB, free: 92.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/6.563, allocations: 1.122 MB / 3.036 GB, free: 91.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/6.563, allocations: 168.3 kB / 3.036 GB, free: 90.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/6.563, allocations: 19.89 kB / 3.036 GB, free: 90.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/6.564, allocations: 63.94 kB / 3.036 GB, free: 90.85 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/6.564, allocations: 43.94 kB / 3.036 GB, free: 90.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/6.564, allocations: 12 kB / 3.036 GB, free: 90.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000394/6.564, allocations: 346.8 kB / 3.037 GB, free: 90.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/6.564, allocations: 0 / 3.037 GB, free: 90.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001327/6.566, allocations: 291.8 kB / 3.037 GB, free: 90.18 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002731/6.569, allocations: 1.485 MB / 3.038 GB, free: 88.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001243/6.57, allocations: 0.6039 MB / 3.039 GB, free: 88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/6.57, allocations: 0 / 3.039 GB, free: 88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/6.57, allocations: 302.6 kB / 3.039 GB, free: 87.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/6.572, allocations: 262.5 kB / 3.039 GB, free: 87.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/6.574, allocations: 1.215 MB / 3.041 GB, free: 86.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/6.574, allocations: 0.8746 MB / 3.041 GB, free: 85.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006158/6.575, allocations: 128.7 kB / 3.042 GB, free: 85.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/6.575, allocations: 39.44 kB / 3.042 GB, free: 85.11 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/6.575, allocations: 4 kB / 3.042 GB, free: 85.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.03904/6.614, allocations: 27.28 MB / 3.068 GB, free: 57.96 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)