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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.683/1.683, allocations: 251.7 MB / 0.5092 GB, free: 3.094 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 63.91 kB / 0.6223 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.592/0.5936, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.228/0.8217, allocations: 182 MB / 0.9022 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008882/0.8307, allocations: 4.522 MB / 0.9066 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008297/0.8315, allocations: 19.88 kB / 0.9067 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009075/0.8325, allocations: 242.1 kB / 0.9069 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.835, allocations: 0.7619 MB / 0.9076 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.6216/1.457, allocations: 1.502 MB / 0.9091 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003328/1.46, allocations: 1.262 MB / 0.9103 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/1.461, allocations: 450.3 kB / 0.9108 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/1.463, allocations: 0.5711 MB / 0.9113 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/1.464, allocations: 409.7 kB / 0.9117 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/1.465, allocations: 47.59 kB / 0.9118 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005428/1.47, allocations: 1.54 MB / 0.9133 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000493/1.471, allocations: 184.8 kB / 0.9134 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007648/1.471, allocations: 308.6 kB / 0.9137 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004863/1.476, allocations: 1.307 MB / 0.915 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/1.476, allocations: 1.062 kB / 0.915 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.657e-06/1.476, allocations: 0.6875 kB / 0.915 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.399e-05/1.476, allocations: 0 / 0.915 GB, free: 2.668 MB / 0.7169 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.002703/1.479, allocations: 1.019 MB / 0.916 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/1.479, allocations: 10.73 kB / 0.916 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/1.482, allocations: 280.1 kB / 0.9163 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/1.483, allocations: 445.3 kB / 0.9167 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/1.483, allocations: 33.31 kB / 0.9167 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/1.483, allocations: 47.84 kB / 0.9168 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/1.485, allocations: 0.5479 MB / 0.9173 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/1.485, allocations: 0.9062 kB / 0.9173 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/1.485, allocations: 20.81 kB / 0.9173 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/1.485, allocations: 13.55 kB / 0.9174 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/1.486, allocations: 455.7 kB / 0.9178 GB, free: 17.62 MB / 0.7325 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.003627/1.49, allocations: 2.13 MB / 0.9199 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/1.491, allocations: 414.5 kB / 0.9203 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00065/1.492, allocations: 226.8 kB / 0.9205 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009091/1.493, allocations: 399.5 kB / 0.9209 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007752/1.494, allocations: 290.1 kB / 0.9211 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.425e-06/1.494, allocations: 0 / 0.9211 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.002151/1.496, allocations: 0.6888 MB / 0.9218 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.496, allocations: 59.02 kB / 0.9219 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/1.497, allocations: 493 kB / 0.9223 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/1.497, allocations: 37.86 kB / 0.9224 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/1.497, allocations: 262.7 kB / 0.9226 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/1.497, allocations: 122 kB / 0.9227 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/1.497, allocations: 93.08 kB / 0.9228 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.498, allocations: 366.9 kB / 0.9232 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/1.498, allocations: 192.8 kB / 0.9234 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/1.499, allocations: 320.9 kB / 0.9237 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/1.5, allocations: 0.5357 MB / 0.9242 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.5, allocations: 3.25 kB / 0.9242 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001323/1.501, allocations: 0.6494 MB / 0.9248 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/1.501, allocations: 64.98 kB / 0.9249 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.501, allocations: 3.5 kB / 0.9249 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/1.502, allocations: 5.531 kB / 0.9249 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/1.502, allocations: 96.66 kB / 0.925 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/1.502, allocations: 6.344 kB / 0.925 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/1.503, allocations: 81.34 kB / 0.9251 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/1.503, allocations: 23.25 kB / 0.9251 GB, free: 14.59 MB / 0.7325 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002696/1.503, allocations: 198.4 kB / 0.9253 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/1.503, allocations: 49 kB / 0.9253 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/1.504, allocations: 0.5401 MB / 0.9259 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.504, allocations: 5.469 kB / 0.9259 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.504, allocations: 1.828 kB / 0.9259 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/1.504, allocations: 2.531 kB / 0.9259 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/1.507, allocations: 1.357 MB / 0.9272 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.507, allocations: 5.625 kB / 0.9272 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/1.507, allocations: 72.84 kB / 0.9273 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/1.507, allocations: 4.469 kB / 0.9273 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/1.508, allocations: 13.27 kB / 0.9273 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/1.508, allocations: 8.656 kB / 0.9273 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.508, allocations: 4.812 kB / 0.9273 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/1.509, allocations: 0.945 MB / 0.9282 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/1.51, allocations: 172.4 kB / 0.9284 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/1.51, allocations: 9.281 kB / 0.9284 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/1.51, allocations: 33.75 kB / 0.9284 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/1.51, allocations: 53.64 kB / 0.9285 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/1.51, allocations: 16.97 kB / 0.9285 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004686/1.511, allocations: 345.7 kB / 0.9288 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.21e-07/1.511, allocations: 0 / 0.9288 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007161/1.512, allocations: 154.6 kB / 0.929 GB, free: 13.45 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005573/1.512, allocations: 205 kB / 0.9292 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001279/1.513, allocations: 0.5996 MB / 0.9298 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.513, allocations: 0.9062 kB / 0.9298 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006735/1.514, allocations: 294.8 kB / 0.93 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/1.516, allocations: 291.3 kB / 0.9303 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/1.518, allocations: 1.042 MB / 0.9313 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/1.518, allocations: 0.8671 MB / 0.9322 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005467/1.519, allocations: 125.1 kB / 0.9323 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/1.519, allocations: 45.94 kB / 0.9323 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/1.519, allocations: 1.203 kB / 0.9323 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.02174/1.541, allocations: 10.78 MB / 0.9429 GB, free: 11.46 MB / 0.7325 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)