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 1.034/1.034, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 185.4 kB / 187.3 MB, free: 11.88 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.535/1.535, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009467/0.000947, allocations: 95.61 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001802, allocations: 264.8 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.024e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4467, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.401/4.848, allocations: 1.829 GB / 2.593 GB, free: 220.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/4.848, allocations: 90.7 kB / 2.593 GB, free: 220.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.205/6.054, allocations: 430.1 MB / 3.013 GB, free: 59.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/6.054, allocations: 3.938 kB / 3.013 GB, free: 59.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.709e-05/6.054, allocations: 19.98 kB / 3.013 GB, free: 59.3 MB / 0.698 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.00246/6.056, allocations: 0.9843 MB / 3.014 GB, free: 58.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/6.057, allocations: 12.03 kB / 3.014 GB, free: 58.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/6.059, allocations: 282.9 kB / 3.014 GB, free: 57.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009333/6.06, allocations: 462 kB / 3.015 GB, free: 57.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/6.06, allocations: 33 kB / 3.015 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/6.06, allocations: 44 kB / 3.015 GB, free: 57.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/6.061, allocations: 0.4957 MB / 3.015 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/6.061, allocations: 3.938 kB / 3.015 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/6.061, allocations: 16 kB / 3.015 GB, free: 56.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/6.061, allocations: 8 kB / 3.015 GB, free: 56.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/6.061, allocations: 350.9 kB / 3.016 GB, free: 56.5 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002542/6.064, allocations: 2.13 MB / 3.018 GB, free: 54.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/6.064, allocations: 331.1 kB / 3.018 GB, free: 53.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/6.065, allocations: 180.6 kB / 3.018 GB, free: 53.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/6.065, allocations: 400.3 kB / 3.019 GB, free: 53.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/6.066, allocations: 251.6 kB / 3.019 GB, free: 53.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.597e-06/6.066, allocations: 7.922 kB / 3.019 GB, free: 53 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.0009031/6.067, allocations: 412.4 kB / 3.019 GB, free: 52.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/6.067, allocations: 59.39 kB / 3.019 GB, free: 52.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/6.067, allocations: 431.9 kB / 3.02 GB, free: 52.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/6.067, allocations: 33.7 kB / 3.02 GB, free: 52.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/6.067, allocations: 264.4 kB / 3.02 GB, free: 51.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/6.067, allocations: 118.3 kB / 3.02 GB, free: 51.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/6.067, allocations: 12 kB / 3.02 GB, free: 51.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/6.067, allocations: 366.8 kB / 3.021 GB, free: 51.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/6.068, allocations: 148.9 kB / 3.021 GB, free: 51.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/6.068, allocations: 274.8 kB / 3.021 GB, free: 50.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/6.068, allocations: 228.7 kB / 3.021 GB, free: 50.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/6.068, allocations: 0 / 3.021 GB, free: 50.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007509/6.069, allocations: 0.5507 MB / 3.022 GB, free: 50.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/6.069, allocations: 67.36 kB / 3.022 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/6.069, allocations: 4 kB / 3.022 GB, free: 49.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/6.069, allocations: 4 kB / 3.022 GB, free: 49.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/6.07, allocations: 112.2 kB / 3.022 GB, free: 49.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/6.07, allocations: 7.984 kB / 3.022 GB, free: 49.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/6.07, allocations: 95.39 kB / 3.022 GB, free: 49.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/6.07, allocations: 27.98 kB / 3.022 GB, free: 49.7 MB / 0.698 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 () * 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.0001435/6.07, allocations: 137.8 kB / 3.022 GB, free: 49.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/6.071, allocations: 51.34 kB / 3.022 GB, free: 49.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/6.071, allocations: 454.3 kB / 3.023 GB, free: 49.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/6.071, allocations: 4 kB / 3.023 GB, free: 49.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/6.071, allocations: 0 / 3.023 GB, free: 49.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/6.071, allocations: 3.984 kB / 3.023 GB, free: 49.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/6.073, allocations: 1.237 MB / 3.024 GB, free: 47.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/6.073, allocations: 7.984 kB / 3.024 GB, free: 47.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/6.073, allocations: 88.27 kB / 3.024 GB, free: 47.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/6.073, allocations: 8 kB / 3.024 GB, free: 47.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/6.073, allocations: 12 kB / 3.024 GB, free: 47.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/6.073, allocations: 7.984 kB / 3.024 GB, free: 47.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/6.073, allocations: 4 kB / 3.024 GB, free: 47.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009109/6.074, allocations: 0.9513 MB / 3.025 GB, free: 46.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/6.075, allocations: 172.3 kB / 3.025 GB, free: 46.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.076e-05/6.075, allocations: 12 kB / 3.025 GB, free: 46.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/6.075, allocations: 56 kB / 3.025 GB, free: 46.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/6.075, allocations: 43.94 kB / 3.025 GB, free: 46.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/6.075, allocations: 27.95 kB / 3.025 GB, free: 46.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003152/6.076, allocations: 333.5 kB / 3.025 GB, free: 45.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/6.076, allocations: 0 / 3.025 GB, free: 45.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001104/6.077, allocations: 283.8 kB / 3.026 GB, free: 45.56 MB / 0.698 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) * 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.002096/6.079, allocations: 1.472 MB / 3.027 GB, free: 44.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007602/6.08, allocations: 0.4903 MB / 3.028 GB, free: 43.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/6.08, allocations: 0 / 3.028 GB, free: 43.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004108/6.08, allocations: 241 kB / 3.028 GB, free: 43.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/6.081, allocations: 262.8 kB / 3.028 GB, free: 43.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/6.083, allocations: 0.8197 MB / 3.029 GB, free: 42.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/6.084, allocations: 0.8785 MB / 3.03 GB, free: 41.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000619/6.084, allocations: 124.7 kB / 3.03 GB, free: 41.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/6.085, allocations: 39.44 kB / 3.03 GB, free: 41.06 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/6.085, allocations: 0 / 3.03 GB, free: 41.06 MB / 0.698 GB Notification: Performance of Templates: time 0.03859/6.123, allocations: 31.18 MB / 3.06 GB, free: 9.973 MB / 0.698 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)