Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.735/1.735, allocations: 288.3 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 183.6 kB / 371.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009352/0.0009357, allocations: 91.69 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006513/0.0006513, allocations: 12.12 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2914, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7479/1.039, allocations: 151.4 MB / 1.127 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006217/1.046, allocations: 4.123 MB / 1.131 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006551/1.046, allocations: 18.12 kB / 1.131 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/1.047, allocations: 283.5 kB / 1.132 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/1.049, allocations: 0.5774 MB / 1.132 GB, free: 412 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003005/1.052, allocations: 0.9768 MB / 1.133 GB, free: 372 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001115/1.053, allocations: 0.7453 MB / 1.134 GB, free: 336 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/1.054, allocations: 361.2 kB / 1.134 GB, free: 292 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/1.055, allocations: 0.6559 MB / 1.135 GB, free: 212 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/1.056, allocations: 286 kB / 1.135 GB, free: 152 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/1.056, allocations: 30.12 kB / 1.135 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/1.057, allocations: 0.5931 MB / 1.136 GB, free: 120 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001591/1.058, allocations: 158.1 kB / 1.136 GB, free: 100 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/1.058, allocations: 133.3 kB / 1.136 GB, free: 16.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008498/1.059, allocations: 0.6395 MB / 1.137 GB, free: 15.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/1.059, allocations: 0 / 1.137 GB, free: 15.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.059, allocations: 0 / 1.137 GB, free: 15.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.616e-06/1.059, allocations: 0 / 1.137 GB, free: 15.88 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.00167/1.06, allocations: 0.9013 MB / 1.137 GB, free: 15.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/1.06, allocations: 6.75 kB / 1.137 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/1.062, allocations: 292.5 kB / 1.138 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/1.063, allocations: 432.7 kB / 1.138 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/1.063, allocations: 37.48 kB / 1.138 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/1.063, allocations: 40.66 kB / 1.138 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009908/1.064, allocations: 0.56 MB / 1.139 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/1.064, allocations: 0 / 1.139 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/1.064, allocations: 16.34 kB / 1.139 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/1.064, allocations: 11.5 kB / 1.139 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/1.065, allocations: 491.9 kB / 1.139 GB, free: 14.41 MB / 0.698 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.002575/1.068, allocations: 2.124 MB / 1.141 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.069, allocations: 450.6 kB / 1.142 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004188/1.069, allocations: 146 kB / 1.142 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/1.07, allocations: 339.1 kB / 1.142 GB, free: 12.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.565e-06/1.07, allocations: 0 / 1.142 GB, free: 12.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001975/1.072, allocations: 0.731 MB / 1.143 GB, free: 12.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/1.072, allocations: 85.67 kB / 1.143 GB, free: 12.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/1.073, allocations: 496.1 kB / 1.144 GB, free: 11.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/1.073, allocations: 36.17 kB / 1.144 GB, free: 11.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/1.073, allocations: 260.4 kB / 1.144 GB, free: 11.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/1.073, allocations: 129.5 kB / 1.144 GB, free: 11.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/1.073, allocations: 8.656 kB / 1.144 GB, free: 11.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.073, allocations: 363 kB / 1.144 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/1.074, allocations: 209.9 kB / 1.144 GB, free: 11.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/1.075, allocations: 327.9 kB / 1.145 GB, free: 11.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/1.075, allocations: 295.3 kB / 1.145 GB, free: 11.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.075, allocations: 5.266 kB / 1.145 GB, free: 11.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001416/1.077, allocations: 0.6803 MB / 1.146 GB, free: 10.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/1.077, allocations: 63.8 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.077, allocations: 3.094 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.077, allocations: 10 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/1.077, allocations: 101.1 kB / 1.146 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/1.077, allocations: 9.438 kB / 1.146 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/1.078, allocations: 94.8 kB / 1.146 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/1.078, allocations: 20.41 kB / 1.146 GB, free: 10.68 MB / 0.698 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.0003226/1.078, allocations: 184.3 kB / 1.146 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/1.079, allocations: 58.23 kB / 1.146 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/1.08, allocations: 0.5377 MB / 1.147 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.08, allocations: 3.688 kB / 1.147 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.08, allocations: 1.375 kB / 1.147 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/1.08, allocations: 3.984 kB / 1.147 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/1.083, allocations: 1.472 MB / 1.148 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/1.083, allocations: 3.312 kB / 1.148 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/1.083, allocations: 88.97 kB / 1.148 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/1.083, allocations: 7.344 kB / 1.148 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/1.084, allocations: 14.25 kB / 1.148 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.732e-05/1.084, allocations: 14.36 kB / 1.148 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/1.084, allocations: 9.562 kB / 1.148 GB, free: 9.559 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/1.086, allocations: 1.233 MB / 1.15 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/1.087, allocations: 168 kB / 1.15 GB, free: 8.629 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.087, allocations: 18.42 kB / 1.15 GB, free: 8.625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/1.087, allocations: 55.92 kB / 1.15 GB, free: 8.605 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.087, allocations: 53.77 kB / 1.15 GB, free: 8.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/1.087, allocations: 28.02 kB / 1.15 GB, free: 8.574 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004986/1.088, allocations: 343.9 kB / 1.15 GB, free: 8.438 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/1.088, allocations: 0 / 1.15 GB, free: 8.438 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008055/1.089, allocations: 143.2 kB / 1.15 GB, free: 8.434 MB / 0.698 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.0007219/1.09, allocations: 213.3 kB / 1.151 GB, free: 8.297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001481/1.091, allocations: 0.6031 MB / 1.151 GB, free: 8.062 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.091, allocations: 0.9375 kB / 1.151 GB, free: 8.062 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008217/1.092, allocations: 329.5 kB / 1.151 GB, free: 7.996 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.093, allocations: 279.9 kB / 1.152 GB, free: 7.902 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/1.096, allocations: 1.258 MB / 1.153 GB, free: 7.027 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/1.096, allocations: 0.8758 MB / 1.154 GB, free: 6.246 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006189/1.097, allocations: 125.2 kB / 1.154 GB, free: 6.188 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/1.097, allocations: 47.23 kB / 1.154 GB, free: 6.176 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/1.097, allocations: 4 kB / 1.154 GB, free: 6.172 MB / 0.698 GB Notification: Performance of Templates: time 0.01862/1.115, allocations: 9.829 MB / 1.164 GB, free: 1.324 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)