Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 190.2 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007292/0.0007292, allocations: 90.48 kB / 0.6829 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002898, allocations: 11.34 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1929, allocations: 106.3 MB / 0.9008 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6022/0.7952, allocations: 165.5 MB / 1.062 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005698/0.8009, allocations: 4.266 MB / 1.067 GB, free: 4.238 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.8015, allocations: 17.66 kB / 1.067 GB, free: 4.238 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006095/0.8021, allocations: 172 kB / 1.067 GB, free: 4.238 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.8039, allocations: 0.5791 MB / 1.067 GB, free: 4.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.8073, allocations: 1.054 MB / 1.068 GB, free: 4.18 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002065/0.8094, allocations: 1.446 MB / 1.07 GB, free: 4.176 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000611/0.81, allocations: 350.4 kB / 1.07 GB, free: 4.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.8111, allocations: 0.5048 MB / 1.071 GB, free: 4.133 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.8117, allocations: 395.9 kB / 1.071 GB, free: 4.129 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.172e-05/0.8118, allocations: 25.88 kB / 1.071 GB, free: 4.129 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.8142, allocations: 0.7874 MB / 1.072 GB, free: 4.113 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.8145, allocations: 167.3 kB / 1.072 GB, free: 4.113 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.8147, allocations: 128.2 kB / 1.072 GB, free: 4.082 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.816, allocations: 0.7615 MB / 1.073 GB, free: 4.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.816, allocations: 2.906 kB / 1.073 GB, free: 4.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.816, allocations: 4.656 kB / 1.073 GB, free: 4.016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.816, allocations: 0 / 1.073 GB, free: 4.016 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.001987/0.818, allocations: 0.9362 MB / 1.074 GB, free: 19.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8181, allocations: 8.719 kB / 1.074 GB, free: 19.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.82, allocations: 289.4 kB / 1.074 GB, free: 19.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.8208, allocations: 421.1 kB / 1.074 GB, free: 19.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.8208, allocations: 34.53 kB / 1.074 GB, free: 19.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.543e-05/0.8209, allocations: 45.27 kB / 1.075 GB, free: 19.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.8221, allocations: 0.5618 MB / 1.075 GB, free: 18.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.8221, allocations: 0.7812 kB / 1.075 GB, free: 18.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.8222, allocations: 15.03 kB / 1.075 GB, free: 18.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.8222, allocations: 10.91 kB / 1.075 GB, free: 18.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.8234, allocations: 496.3 kB / 1.076 GB, free: 18.95 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.002755/0.8261, allocations: 2.136 MB / 1.078 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.8272, allocations: 434.8 kB / 1.078 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/0.8277, allocations: 239.6 kB / 1.078 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007311/0.8284, allocations: 407.7 kB / 1.079 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006809/0.8291, allocations: 306 kB / 1.079 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.916e-06/0.8291, allocations: 0 / 1.079 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.001941/0.8311, allocations: 0.7392 MB / 1.08 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.8311, allocations: 58.97 kB / 1.08 GB, free: 17.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/0.8317, allocations: 0.4893 MB / 1.08 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.8318, allocations: 35.17 kB / 1.08 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.832, allocations: 266.6 kB / 1.081 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.576e-05/0.8321, allocations: 122.5 kB / 1.081 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.8321, allocations: 7.625 kB / 1.081 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8323, allocations: 369.7 kB / 1.081 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.8328, allocations: 210.3 kB / 1.081 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/0.8334, allocations: 332.1 kB / 1.082 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.834, allocations: 288.3 kB / 1.082 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.834, allocations: 4 kB / 1.082 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00134/0.8353, allocations: 0.6735 MB / 1.082 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.8354, allocations: 68.88 kB / 1.083 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.8354, allocations: 1.969 kB / 1.083 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.8354, allocations: 6.281 kB / 1.083 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.8359, allocations: 103.1 kB / 1.083 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.8359, allocations: 8 kB / 1.083 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.8366, allocations: 93.69 kB / 1.083 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.8367, allocations: 27.86 kB / 1.083 GB, free: 15.96 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.0002846/0.837, allocations: 194.6 kB / 1.083 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/0.8371, allocations: 53.44 kB / 1.083 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.8383, allocations: 0.5676 MB / 1.084 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8383, allocations: 2.719 kB / 1.084 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.8383, allocations: 1.312 kB / 1.084 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.8383, allocations: 10.09 kB / 1.084 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.8405, allocations: 1.381 MB / 1.085 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.8405, allocations: 3.188 kB / 1.085 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.8409, allocations: 82.98 kB / 1.085 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.841, allocations: 4.031 kB / 1.085 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.841, allocations: 13.23 kB / 1.085 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.841, allocations: 7.312 kB / 1.085 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.8411, allocations: 4.25 kB / 1.085 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.8427, allocations: 0.9942 MB / 1.086 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.843, allocations: 173.2 kB / 1.086 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.8431, allocations: 15.03 kB / 1.086 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/0.8436, allocations: 47.27 kB / 1.086 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.8437, allocations: 59.55 kB / 1.086 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.8438, allocations: 16.31 kB / 1.086 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004166/0.8442, allocations: 338.5 kB / 1.087 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8442, allocations: 0 / 1.087 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006412/0.8448, allocations: 156.1 kB / 1.087 GB, free: 14.77 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.0004563/0.8453, allocations: 197.3 kB / 1.087 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.8465, allocations: 0.6091 MB / 1.088 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8465, allocations: 5.781 kB / 1.088 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.8471, allocations: 279.4 kB / 1.088 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.8485, allocations: 283.9 kB / 1.088 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.8503, allocations: 1.252 MB / 1.089 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.8507, allocations: 0.8649 MB / 1.09 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.8509, allocations: 49.59 kB / 1.09 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.8509, allocations: 0 / 1.09 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.01169/0.8626, allocations: 8.949 MB / 1.099 GB, free: 12.33 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)