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.000812/0.0008119, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006086/0.006086, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.722/1.722, allocations: 205.4 MB / 222.4 MB, free: 5.543 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.562/1.562, allocations: 252 MB / 0.5105 GB, free: 4.59 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.0005267/0.0005268, allocations: 24 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6087, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2236/0.8323, allocations: 177.4 MB / 0.902 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007937/0.8403, allocations: 4.501 MB / 0.9063 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.8416, allocations: 23.88 kB / 0.9064 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.8426, allocations: 190.7 kB / 0.9066 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.8454, allocations: 0.7078 MB / 0.9072 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005319/0.8508, allocations: 1.406 MB / 0.9086 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002956/0.8538, allocations: 1.691 MB / 0.9103 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.8548, allocations: 369.8 kB / 0.9106 GB, free: 292 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.607/1.462, allocations: 0.5112 MB / 0.9111 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/1.463, allocations: 408.8 kB / 0.9115 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.943e-05/1.463, allocations: 28.66 kB / 0.9115 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004411/1.467, allocations: 1.807 MB / 0.9133 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003706/1.468, allocations: 172 kB / 0.9135 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005646/1.468, allocations: 307 kB / 0.9138 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003609/1.472, allocations: 1.375 MB / 0.9151 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.472, allocations: 1.031 kB / 0.9151 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/1.472, allocations: 3.625 kB / 0.9151 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.472, allocations: 0 / 0.9151 GB, free: 3.383 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.002232/1.474, allocations: 0.9313 MB / 0.916 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/1.474, allocations: 9.75 kB / 0.916 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/1.477, allocations: 282.6 kB / 0.9163 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/1.478, allocations: 455 kB / 0.9167 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/1.478, allocations: 31.53 kB / 0.9168 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.478, allocations: 45.64 kB / 0.9168 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/1.479, allocations: 0.5606 MB / 0.9173 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.479, allocations: 8.656 kB / 0.9174 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/1.479, allocations: 18.59 kB / 0.9174 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/1.479, allocations: 10.09 kB / 0.9174 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/1.48, allocations: 490.9 kB / 0.9179 GB, free: 18.36 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.002983/1.483, allocations: 2.129 MB / 0.9199 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/1.485, allocations: 440.8 kB / 0.9204 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/1.485, allocations: 243.1 kB / 0.9206 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007902/1.486, allocations: 418.1 kB / 0.921 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007806/1.487, allocations: 314 kB / 0.9213 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/1.487, allocations: 0.5312 kB / 0.9213 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.002564/1.489, allocations: 0.73 MB / 0.922 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/1.49, allocations: 59.25 kB / 0.9221 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.491, allocations: 496.4 kB / 0.9225 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.052e-05/1.491, allocations: 39.19 kB / 0.9226 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/1.491, allocations: 260.8 kB / 0.9228 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/1.492, allocations: 121.6 kB / 0.9229 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/1.492, allocations: 44.42 kB / 0.923 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003154/1.492, allocations: 364.1 kB / 0.9233 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/1.493, allocations: 217.7 kB / 0.9235 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/1.494, allocations: 330.1 kB / 0.9238 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/1.495, allocations: 0.5776 MB / 0.9244 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.495, allocations: 1.375 kB / 0.9244 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00166/1.497, allocations: 0.6727 MB / 0.9251 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/1.497, allocations: 64.41 kB / 0.9251 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.497, allocations: 7.75 kB / 0.9251 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.497, allocations: 4.625 kB / 0.9251 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/1.497, allocations: 103.2 kB / 0.9252 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.497, allocations: 8.625 kB / 0.9252 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/1.498, allocations: 95.53 kB / 0.9253 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/1.498, allocations: 20.5 kB / 0.9254 GB, free: 15.26 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.0003379/1.499, allocations: 198.5 kB / 0.9255 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/1.499, allocations: 53.25 kB / 0.9256 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/1.5, allocations: 0.5702 MB / 0.9261 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.5, allocations: 2.344 kB / 0.9262 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.5, allocations: 0 / 0.9262 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.5, allocations: 3.094 kB / 0.9262 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/1.503, allocations: 1.392 MB / 0.9275 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.503, allocations: 5.219 kB / 0.9275 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/1.503, allocations: 89.16 kB / 0.9276 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/1.503, allocations: 2.969 kB / 0.9276 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/1.503, allocations: 13.16 kB / 0.9276 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/1.503, allocations: 9.641 kB / 0.9276 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.503, allocations: 6.156 kB / 0.9276 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/1.505, allocations: 0.9852 MB / 0.9286 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/1.505, allocations: 171.9 kB / 0.9288 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/1.505, allocations: 13.75 kB / 0.9288 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/1.506, allocations: 57.56 kB / 0.9288 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.506, allocations: 52.38 kB / 0.9289 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/1.506, allocations: 15.11 kB / 0.9289 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005071/1.507, allocations: 344.7 kB / 0.9292 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.507, allocations: 0 / 0.9292 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007413/1.507, allocations: 154.3 kB / 0.9294 GB, free: 14.07 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.0004879/1.508, allocations: 200.7 kB / 0.9296 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001345/1.509, allocations: 0.603 MB / 0.9301 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.509, allocations: 1.406 kB / 0.9301 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006816/1.51, allocations: 305.6 kB / 0.9304 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.511, allocations: 268.4 kB / 0.9307 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/1.513, allocations: 1.273 MB / 0.9319 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/1.514, allocations: 0.8695 MB / 0.9328 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005223/1.514, allocations: 127.1 kB / 0.9329 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/1.515, allocations: 39.88 kB / 0.9329 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/1.515, allocations: 0 / 0.9329 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.01893/1.534, allocations: 10.16 MB / 0.9429 GB, free: 11.75 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: