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.006089/0.00609, allocations: 101 kB / 15.73 MB, free: 6.473 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.001677/0.001678, allocations: 195 kB / 16.67 MB, free: 6.379 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.639/1.639, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.592/1.592, allocations: 251.7 MB / 0.5094 GB, free: 3.133 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.002024/0.002024, allocations: 67.89 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.287, allocations: 104.7 MB / 0.8281 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.873/1.16, allocations: 182 MB / 1.006 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.007303/1.167, allocations: 4.533 MB / 1.01 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/1.168, allocations: 17.94 kB / 1.01 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0009203/1.169, allocations: 246.1 kB / 1.01 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/1.172, allocations: 0.7954 MB / 1.011 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/1.177, allocations: 1.55 MB / 1.013 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002086/1.179, allocations: 1.258 MB / 1.014 GB, free: 9.258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008411/1.18, allocations: 451.2 kB / 1.014 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/1.181, allocations: 0.5901 MB / 1.015 GB, free: 8.645 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/1.182, allocations: 405 kB / 1.015 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/1.182, allocations: 45.47 kB / 1.015 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/1.185, allocations: 1.559 MB / 1.017 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/1.185, allocations: 182.2 kB / 1.017 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004245/1.186, allocations: 309.2 kB / 1.017 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002638/1.188, allocations: 1.316 MB / 1.019 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.188, allocations: 0 / 1.019 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.393e-06/1.188, allocations: 3.938 kB / 1.019 GB, free: 6.402 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.287e-05/1.188, allocations: 0 / 1.019 GB, free: 6.402 MB / 0.7637 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.002015/1.19, allocations: 1.018 MB / 1.02 GB, free: 5.562 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.19, allocations: 7.469 kB / 1.02 GB, free: 5.562 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/1.193, allocations: 283 kB / 1.02 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009265/1.194, allocations: 475.9 kB / 1.02 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/1.194, allocations: 30.91 kB / 1.02 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/1.194, allocations: 39.5 kB / 1.02 GB, free: 5.016 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/1.195, allocations: 0.5477 MB / 1.021 GB, free: 4.648 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/1.195, allocations: 3.984 kB / 1.021 GB, free: 4.645 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/1.195, allocations: 17.53 kB / 1.021 GB, free: 4.633 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/1.195, allocations: 14.12 kB / 1.021 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/1.196, allocations: 457.2 kB / 1.021 GB, free: 4.422 MB / 0.7637 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.003084/1.199, allocations: 2.118 MB / 1.024 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/1.2, allocations: 415.3 kB / 1.024 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/1.201, allocations: 224.7 kB / 1.024 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008152/1.201, allocations: 403.7 kB / 1.025 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006596/1.202, allocations: 285.9 kB / 1.025 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=37): time 2.695e-06/1.202, allocations: 0 / 1.025 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37): time 0.001919/1.204, allocations: 0.6893 MB / 1.026 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/1.204, allocations: 56.28 kB / 1.026 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006991/1.205, allocations: 497.9 kB / 1.026 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/1.205, allocations: 38.55 kB / 1.026 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/1.205, allocations: 259.5 kB / 1.026 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/1.205, allocations: 124.4 kB / 1.026 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.206, allocations: 91.59 kB / 1.027 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.206, allocations: 367.4 kB / 1.027 GB, free: 180 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/1.206, allocations: 196.1 kB / 1.027 GB, free: 84 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/1.207, allocations: 322.6 kB / 1.027 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/1.208, allocations: 0.5389 MB / 1.028 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.208, allocations: 0 / 1.028 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001491/1.209, allocations: 0.6522 MB / 1.029 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.898e-05/1.21, allocations: 63.41 kB / 1.029 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.21, allocations: 4 kB / 1.029 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/1.21, allocations: 4 kB / 1.029 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/1.21, allocations: 95.88 kB / 1.029 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.21, allocations: 9.109 kB / 1.029 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/1.211, allocations: 87.58 kB / 1.029 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/1.211, allocations: 23.98 kB / 1.029 GB, free: 14.66 MB / 0.7794 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.0002896/1.211, allocations: 181.8 kB / 1.029 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.211, allocations: 59.28 kB / 1.029 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/1.213, allocations: 0.5452 MB / 1.03 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.213, allocations: 7.984 kB / 1.03 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.213, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.213, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/1.216, allocations: 1.352 MB / 1.031 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.216, allocations: 4 kB / 1.031 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/1.216, allocations: 76.27 kB / 1.031 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.216, allocations: 12 kB / 1.031 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/1.216, allocations: 11.98 kB / 1.031 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/1.216, allocations: 11.94 kB / 1.031 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.216, allocations: 4 kB / 1.031 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/1.218, allocations: 0.9178 MB / 1.032 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/1.218, allocations: 176.3 kB / 1.032 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/1.218, allocations: 12.06 kB / 1.032 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/1.219, allocations: 39.95 kB / 1.032 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.219, allocations: 47.83 kB / 1.032 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/1.219, allocations: 19.98 kB / 1.032 GB, free: 11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004458/1.219, allocations: 346.8 kB / 1.033 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.219, allocations: 0 / 1.033 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006279/1.22, allocations: 147.8 kB / 1.033 GB, free: 10.52 MB / 0.7794 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.0006262/1.221, allocations: 210.7 kB / 1.033 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.222, allocations: 0.588 MB / 1.033 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.222, allocations: 0 / 1.033 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007095/1.223, allocations: 289.3 kB / 1.034 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.224, allocations: 278.5 kB / 1.034 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/1.226, allocations: 1.038 MB / 1.035 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/1.227, allocations: 0.8665 MB / 1.036 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004999/1.227, allocations: 132.7 kB / 1.036 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/1.228, allocations: 43.44 kB / 1.036 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of SimCode: time 1.002e-06/1.228, allocations: 0 / 1.036 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of Templates: time 0.02087/1.248, allocations: 10.85 MB / 1.047 GB, free: 12.3 MB / 0.795 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)