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.001495/0.001495, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002147/0.002147, allocations: 193 kB / 16.14 MB, free: 6.703 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.549/1.549, allocations: 205.1 MB / 222 MB, free: 4.793 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.856/1.856, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001429/0.001429, allocations: 63.25 kB / 0.6708 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2798, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7838/1.064, allocations: 179.5 MB / 0.958 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006725/1.07, allocations: 4.471 MB / 0.9624 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/1.072, allocations: 19.38 kB / 0.9624 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009063/1.072, allocations: 191 kB / 0.9626 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002507/1.075, allocations: 0.7175 MB / 0.9633 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/1.079, allocations: 1.402 MB / 0.9646 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002176/1.081, allocations: 1.688 MB / 0.9663 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/1.082, allocations: 389.2 kB / 0.9667 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/1.083, allocations: 0.5136 MB / 0.9672 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/1.084, allocations: 426.8 kB / 0.9676 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.974e-05/1.084, allocations: 28.47 kB / 0.9676 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/1.088, allocations: 1.807 MB / 0.9694 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002872/1.088, allocations: 176.6 kB / 0.9695 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004495/1.089, allocations: 286 kB / 0.9698 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00317/1.092, allocations: 1.387 MB / 0.9712 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.092, allocations: 3.938 kB / 0.9712 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/1.092, allocations: 5.438 kB / 0.9712 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.368e-06/1.092, allocations: 0 / 0.9712 GB, free: 4.977 MB / 0.7325 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.002812/1.095, allocations: 1.022 MB / 0.9722 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/1.095, allocations: 9 kB / 0.9722 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/1.097, allocations: 290.1 kB / 0.9724 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/1.098, allocations: 443.9 kB / 0.9729 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/1.098, allocations: 33.22 kB / 0.9729 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/1.098, allocations: 44.58 kB / 0.9729 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/1.099, allocations: 0.5477 MB / 0.9735 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/1.099, allocations: 1.219 kB / 0.9735 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/1.099, allocations: 17.53 kB / 0.9735 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/1.099, allocations: 14.72 kB / 0.9735 GB, free: 19.87 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/1.1, allocations: 461.4 kB / 0.9739 GB, free: 19.86 MB / 0.7481 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.002927/1.103, allocations: 2.122 MB / 0.976 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.104, allocations: 405.4 kB / 0.9764 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/1.105, allocations: 228.9 kB / 0.9766 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008452/1.106, allocations: 403.2 kB / 0.977 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/1.106, allocations: 297.3 kB / 0.9773 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 2.003e-06/1.106, allocations: 0 / 0.9773 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.002052/1.108, allocations: 0.6787 MB / 0.978 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/1.109, allocations: 62.66 kB / 0.978 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/1.109, allocations: 495.8 kB / 0.9785 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/1.109, allocations: 36.77 kB / 0.9785 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/1.11, allocations: 259 kB / 0.9788 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/1.11, allocations: 126.2 kB / 0.9789 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/1.11, allocations: 95.09 kB / 0.979 GB, free: 17.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.11, allocations: 363.1 kB / 0.9793 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/1.11, allocations: 193.2 kB / 0.9795 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/1.111, allocations: 317.1 kB / 0.9798 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/1.112, allocations: 0.5431 MB / 0.9803 GB, free: 17 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.112, allocations: 4.062 kB / 0.9803 GB, free: 17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001393/1.113, allocations: 0.6542 MB / 0.981 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/1.113, allocations: 65.08 kB / 0.9811 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.113, allocations: 9.188 kB / 0.9811 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.113, allocations: 5.781 kB / 0.9811 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/1.114, allocations: 96.56 kB / 0.9812 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.114, allocations: 5.438 kB / 0.9812 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006687/1.115, allocations: 84.98 kB / 0.9812 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/1.115, allocations: 27.52 kB / 0.9813 GB, free: 16.75 MB / 0.7481 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.0002564/1.115, allocations: 201 kB / 0.9815 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/1.115, allocations: 56.5 kB / 0.9815 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/1.116, allocations: 0.5363 MB / 0.982 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/1.116, allocations: 3.812 kB / 0.982 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.116, allocations: 0 / 0.982 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/1.116, allocations: 4.297 kB / 0.982 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/1.119, allocations: 1.349 MB / 0.9834 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.119, allocations: 2.5 kB / 0.9834 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/1.119, allocations: 80.06 kB / 0.9834 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/1.119, allocations: 2.688 kB / 0.9834 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/1.119, allocations: 18.73 kB / 0.9835 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.119, allocations: 5.469 kB / 0.9835 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/1.119, allocations: 9.125 kB / 0.9835 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/1.121, allocations: 0.9322 MB / 0.9844 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/1.121, allocations: 173.2 kB / 0.9846 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/1.121, allocations: 17.92 kB / 0.9846 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/1.121, allocations: 47.67 kB / 0.9846 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.122, allocations: 50.7 kB / 0.9847 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/1.122, allocations: 17.53 kB / 0.9847 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003909/1.122, allocations: 345.9 kB / 0.985 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.122, allocations: 0 / 0.985 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006333/1.123, allocations: 152.7 kB / 0.9852 GB, free: 15.56 MB / 0.7481 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.0004017/1.123, allocations: 193.5 kB / 0.9853 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001123/1.124, allocations: 0.575 MB / 0.9859 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.124, allocations: 2.344 kB / 0.9859 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006025/1.125, allocations: 291 kB / 0.9862 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/1.126, allocations: 270.9 kB / 0.9864 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/1.128, allocations: 1.22 MB / 0.9876 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/1.128, allocations: 0.8597 MB / 0.9885 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005045/1.129, allocations: 130.3 kB / 0.9886 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/1.129, allocations: 47.45 kB / 0.9886 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/1.129, allocations: 4 kB / 0.9886 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of Templates: time 0.01648/1.145, allocations: 10.19 MB / 0.9986 GB, free: 10.93 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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)