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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.595/1.595, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 170.1 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009365/0.0009362, allocations: 91.66 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 8.938 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1923, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.544/0.7363, allocations: 179.4 MB / 1.072 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006272/0.7426, allocations: 4.563 MB / 1.076 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/0.7435, allocations: 18.59 kB / 1.076 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008033/0.7443, allocations: 189.2 kB / 1.077 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.7466, allocations: 0.7111 MB / 1.077 GB, free: 1.633 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004502/0.7511, allocations: 1.406 MB / 1.079 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.7536, allocations: 1.687 MB / 1.08 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008222/0.7544, allocations: 374.8 kB / 1.081 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.7559, allocations: 0.5251 MB / 1.081 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009141/0.7568, allocations: 414.8 kB / 1.082 GB, free: 1.508 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.757, allocations: 25.41 kB / 1.082 GB, free: 1.508 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.7604, allocations: 1.802 MB / 1.083 GB, free: 1.496 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.7607, allocations: 171.4 kB / 1.084 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000565/0.7613, allocations: 282.4 kB / 1.084 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.7628, allocations: 0.9017 MB / 1.085 GB, free: 1.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7629, allocations: 0 / 1.085 GB, free: 1.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7629, allocations: 1.406 kB / 1.085 GB, free: 1.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.316e-05/0.7629, allocations: 0 / 1.085 GB, free: 1.422 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.001897/0.7648, allocations: 0.9341 MB / 1.086 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.7648, allocations: 9.188 kB / 1.086 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.7667, allocations: 284.2 kB / 1.086 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.7674, allocations: 446.4 kB / 1.086 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.7675, allocations: 29.88 kB / 1.086 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.882e-05/0.7676, allocations: 45 kB / 1.086 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008819/0.7685, allocations: 0.565 MB / 1.087 GB, free: 16.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.7685, allocations: 2.562 kB / 1.087 GB, free: 16.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.7685, allocations: 18.59 kB / 1.087 GB, free: 16.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.7686, allocations: 10.03 kB / 1.087 GB, free: 16.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/0.7695, allocations: 498.5 kB / 1.087 GB, free: 16.32 MB / 0.7136 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.002418/0.772, allocations: 2.129 MB / 1.089 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.7731, allocations: 441.9 kB / 1.09 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.7735, allocations: 247.7 kB / 1.09 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/0.7742, allocations: 405.3 kB / 1.091 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006191/0.7749, allocations: 312 kB / 1.091 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.7749, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.001786/0.7767, allocations: 0.7333 MB / 1.092 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.7767, allocations: 63.39 kB / 1.092 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.7773, allocations: 496.6 kB / 1.092 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.7773, allocations: 38 kB / 1.092 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.7775, allocations: 259.7 kB / 1.092 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.7776, allocations: 116.4 kB / 1.092 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.7776, allocations: 45.45 kB / 1.093 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7778, allocations: 367.7 kB / 1.093 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.7782, allocations: 215.3 kB / 1.093 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.7788, allocations: 340 kB / 1.093 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009503/0.7797, allocations: 0.576 MB / 1.094 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7797, allocations: 0 / 1.094 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001199/0.7809, allocations: 0.6771 MB / 1.095 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.781, allocations: 60.03 kB / 1.095 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.781, allocations: 9.875 kB / 1.095 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.7811, allocations: 8.969 kB / 1.095 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.7815, allocations: 102 kB / 1.095 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.7815, allocations: 14.27 kB / 1.095 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.7822, allocations: 89.59 kB / 1.095 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.7822, allocations: 26.75 kB / 1.095 GB, free: 13.2 MB / 0.7136 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.0002115/0.7824, allocations: 196.8 kB / 1.095 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.7825, allocations: 53.72 kB / 1.095 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.7836, allocations: 0.5704 MB / 1.096 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.7837, allocations: 7.344 kB / 1.096 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7837, allocations: 0 / 1.096 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.7837, allocations: 3.328 kB / 1.096 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.7857, allocations: 1.39 MB / 1.097 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7858, allocations: 3.5 kB / 1.097 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.7862, allocations: 84.08 kB / 1.097 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.7862, allocations: 3.094 kB / 1.097 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.7862, allocations: 16.19 kB / 1.097 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.7862, allocations: 7.312 kB / 1.097 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.7862, allocations: 9.125 kB / 1.097 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.7878, allocations: 0.9857 MB / 1.098 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.7881, allocations: 170.2 kB / 1.098 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.7881, allocations: 11.86 kB / 1.098 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.7886, allocations: 51.84 kB / 1.098 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.7888, allocations: 52.95 kB / 1.098 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.7888, allocations: 17.84 kB / 1.098 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004014/0.7892, allocations: 344.7 kB / 1.099 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7892, allocations: 3 kB / 1.099 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005382/0.7898, allocations: 149.2 kB / 1.099 GB, free: 12.02 MB / 0.7136 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.0004131/0.7902, allocations: 200.5 kB / 1.099 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.7913, allocations: 0.6146 MB / 1.1 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7913, allocations: 3.531 kB / 1.1 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005581/0.7919, allocations: 275.1 kB / 1.1 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.7934, allocations: 277.1 kB / 1.1 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.7953, allocations: 1.238 MB / 1.101 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.7957, allocations: 0.865 MB / 1.102 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.7959, allocations: 42.25 kB / 1.102 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/0.7959, allocations: 0 / 1.102 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.01244/0.8083, allocations: 8.955 MB / 1.111 GB, free: 9.539 MB / 0.7136 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)