Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.000883/0.000883, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008837/0.0008837, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0005492/0.0005492, allocations: 13.97 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2479, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7016/0.9495, allocations: 151.4 MB / 0.935 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006351/0.9559, allocations: 4.109 MB / 0.939 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007321/0.9567, allocations: 17.25 kB / 0.939 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.9579, allocations: 280.9 kB / 0.9393 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.9601, allocations: 0.5802 MB / 0.9398 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.9637, allocations: 0.9784 MB / 0.9408 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.9655, allocations: 0.7429 MB / 0.9415 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008134/0.9664, allocations: 364 kB / 0.9418 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.9684, allocations: 0.6561 MB / 0.9425 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.9689, allocations: 282.5 kB / 0.9428 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-05/0.969, allocations: 25.62 kB / 0.9428 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.9713, allocations: 0.5996 MB / 0.9434 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.9716, allocations: 156.6 kB / 0.9435 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.9718, allocations: 129.8 kB / 0.9436 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.9732, allocations: 0.6416 MB / 0.9443 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.9732, allocations: 0 / 0.9443 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9732, allocations: 0 / 0.9443 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.9732, allocations: 4.438 kB / 0.9443 GB, free: 5.203 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.002169/0.9754, allocations: 0.8975 MB / 0.9451 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.9755, allocations: 16.38 kB / 0.9452 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.9776, allocations: 288.4 kB / 0.9454 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/0.9785, allocations: 432.9 kB / 0.9458 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.9786, allocations: 32.72 kB / 0.9459 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-05/0.9787, allocations: 44.17 kB / 0.9459 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.9798, allocations: 0.5622 MB / 0.9465 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.9798, allocations: 1.094 kB / 0.9465 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.9798, allocations: 13.06 kB / 0.9465 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.9799, allocations: 12.2 kB / 0.9465 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.981, allocations: 486.8 kB / 0.947 GB, free: 20.14 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.002636/0.9836, allocations: 2.139 MB / 0.949 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009701/0.9846, allocations: 449 kB / 0.9495 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004016/0.985, allocations: 139.4 kB / 0.9496 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006574/0.9857, allocations: 335.7 kB / 0.9499 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 3.035e-06/0.9857, allocations: 4 kB / 0.9499 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001989/0.9877, allocations: 0.734 MB / 0.9507 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.9878, allocations: 85.42 kB / 0.9507 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.9883, allocations: 488.7 kB / 0.9512 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.9884, allocations: 40.17 kB / 0.9512 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.9886, allocations: 261.1 kB / 0.9515 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.9887, allocations: 125.6 kB / 0.9516 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.9887, allocations: 9.219 kB / 0.9516 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.9889, allocations: 366.5 kB / 0.952 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.9894, allocations: 211 kB / 0.9522 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.99, allocations: 336.3 kB / 0.9525 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.9906, allocations: 291.8 kB / 0.9528 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.9906, allocations: 5.328 kB / 0.9528 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001299/0.9919, allocations: 0.6733 MB / 0.9534 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/0.992, allocations: 61.09 kB / 0.9535 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.992, allocations: 7.156 kB / 0.9535 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.992, allocations: 5.344 kB / 0.9535 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.9925, allocations: 110.2 kB / 0.9536 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.9925, allocations: 6.359 kB / 0.9536 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/0.9932, allocations: 88.03 kB / 0.9537 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.9932, allocations: 24.12 kB / 0.9537 GB, free: 17.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002662/0.9935, allocations: 193.1 kB / 0.9539 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.9936, allocations: 61.52 kB / 0.954 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.9947, allocations: 0.5297 MB / 0.9545 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9947, allocations: 4.656 kB / 0.9545 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.9947, allocations: 6.062 kB / 0.9545 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.9947, allocations: 5.906 kB / 0.9545 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.9972, allocations: 1.469 MB / 0.9559 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.9972, allocations: 4.625 kB / 0.9559 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.9976, allocations: 90.45 kB / 0.956 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.9976, allocations: 6.781 kB / 0.956 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.9977, allocations: 10.69 kB / 0.956 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/0.9977, allocations: 9.438 kB / 0.956 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.9977, allocations: 8.188 kB / 0.9561 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.9994, allocations: 1.235 MB / 0.9573 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.9997, allocations: 172.4 kB / 0.9574 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.9998, allocations: 14.94 kB / 0.9574 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/1, allocations: 57.91 kB / 0.9575 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1, allocations: 56.19 kB / 0.9575 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/1, allocations: 18.66 kB / 0.9576 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004456/1.001, allocations: 342.6 kB / 0.9579 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.001, allocations: 5.969 kB / 0.9579 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007844/1.002, allocations: 146.9 kB / 0.958 GB, free: 15.81 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.0004586/1.002, allocations: 205.2 kB / 0.9582 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001228/1.003, allocations: 0.6097 MB / 0.9588 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.003, allocations: 1.406 kB / 0.9588 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007047/1.004, allocations: 325.2 kB / 0.9591 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/1.005, allocations: 271.3 kB / 0.9594 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/1.007, allocations: 1.258 MB / 0.9606 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/1.008, allocations: 0.8821 MB / 0.9615 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005293/1.008, allocations: 129 kB / 0.9616 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/1.008, allocations: 43.22 kB / 0.9616 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/1.008, allocations: 1.031 kB / 0.9617 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.01604/1.024, allocations: 9.83 MB / 0.9713 GB, free: 11.15 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: