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.001382/0.001382, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 195 kB / 16.53 MB, free: 6.664 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.564/1.564, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.735/1.735, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001423/0.001423, allocations: 71.27 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2607, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7923/1.053, allocations: 181.8 MB / 0.9609 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005673/1.059, allocations: 4.439 MB / 0.9652 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/1.06, allocations: 19.38 kB / 0.9652 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008148/1.061, allocations: 253.9 kB / 0.9655 GB, free: 96 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/1.063, allocations: 0.7536 MB / 0.9662 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004119/1.067, allocations: 1.514 MB / 0.9677 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001738/1.069, allocations: 1.263 MB / 0.9689 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006513/1.07, allocations: 443.7 kB / 0.9693 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/1.071, allocations: 0.5717 MB / 0.9699 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/1.071, allocations: 407.5 kB / 0.9703 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.031e-05/1.072, allocations: 45.06 kB / 0.9703 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/1.075, allocations: 1.545 MB / 0.9718 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/1.075, allocations: 186.5 kB / 0.972 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003513/1.075, allocations: 302.5 kB / 0.9723 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002232/1.077, allocations: 1.303 MB / 0.9736 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.078, allocations: 1.375 kB / 0.9736 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/1.078, allocations: 0 / 0.9736 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.078, allocations: 0 / 0.9736 GB, free: 14.93 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.001817/1.079, allocations: 1.027 MB / 0.9746 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.079, allocations: 8.25 kB / 0.9746 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/1.081, allocations: 286.9 kB / 0.9749 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/1.082, allocations: 439.6 kB / 0.9753 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/1.082, allocations: 33.22 kB / 0.9753 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/1.082, allocations: 44.31 kB / 0.9754 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/1.083, allocations: 0.5479 MB / 0.9759 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/1.083, allocations: 13.09 kB / 0.9759 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/1.083, allocations: 14.59 kB / 0.9759 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/1.083, allocations: 14.31 kB / 0.9759 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/1.084, allocations: 461.1 kB / 0.9764 GB, free: 13.79 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.002467/1.087, allocations: 2.121 MB / 0.9784 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/1.088, allocations: 411.7 kB / 0.9788 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/1.088, allocations: 226.1 kB / 0.9791 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/1.089, allocations: 401.8 kB / 0.9794 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006125/1.09, allocations: 301.2 kB / 0.9797 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.985e-06/1.09, allocations: 0 / 0.9797 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001759/1.092, allocations: 0.6852 MB / 0.9804 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.092, allocations: 54.44 kB / 0.9804 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/1.092, allocations: 0.4884 MB / 0.9809 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/1.092, allocations: 34.27 kB / 0.981 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/1.092, allocations: 257.3 kB / 0.9812 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.093, allocations: 121 kB / 0.9813 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/1.093, allocations: 100.7 kB / 0.9814 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.093, allocations: 368.8 kB / 0.9818 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/1.093, allocations: 199.8 kB / 0.982 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/1.094, allocations: 315.8 kB / 0.9823 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/1.095, allocations: 0.5454 MB / 0.9828 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.095, allocations: 0 / 0.9828 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001372/1.096, allocations: 0.6482 MB / 0.9834 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/1.096, allocations: 65.39 kB / 0.9835 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.096, allocations: 3.281 kB / 0.9835 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.097, allocations: 4.688 kB / 0.9835 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/1.097, allocations: 102 kB / 0.9836 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.097, allocations: 6.031 kB / 0.9836 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/1.098, allocations: 78.8 kB / 0.9837 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/1.098, allocations: 19.56 kB / 0.9837 GB, free: 8.82 MB / 0.7325 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.0002584/1.098, allocations: 199 kB / 0.9839 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/1.098, allocations: 60.66 kB / 0.9839 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/1.099, allocations: 0.5352 MB / 0.9845 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.099, allocations: 2.812 kB / 0.9845 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.099, allocations: 0 / 0.9845 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.099, allocations: 7.984 kB / 0.9845 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/1.102, allocations: 1.345 MB / 0.9858 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.102, allocations: 4.75 kB / 0.9858 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/1.102, allocations: 77.16 kB / 0.9859 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/1.102, allocations: 11.5 kB / 0.9859 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/1.102, allocations: 16.81 kB / 0.9859 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/1.102, allocations: 4.656 kB / 0.9859 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/1.102, allocations: 5.438 kB / 0.9859 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/1.104, allocations: 0.9335 MB / 0.9868 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/1.104, allocations: 171.5 kB / 0.987 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.312e-05/1.104, allocations: 13.36 kB / 0.987 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/1.105, allocations: 30.12 kB / 0.987 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.105, allocations: 61.44 kB / 0.9871 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/1.105, allocations: 10.97 kB / 0.9871 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004857/1.105, allocations: 346.7 kB / 0.9874 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.415e-06/1.106, allocations: 0 / 0.9874 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007679/1.106, allocations: 157.8 kB / 0.9876 GB, free: 6.238 MB / 0.7325 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.0006798/1.107, allocations: 208.2 kB / 0.9878 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001395/1.108, allocations: 0.5828 MB / 0.9883 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.108, allocations: 4.25 kB / 0.9883 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006945/1.109, allocations: 289.4 kB / 0.9886 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.111, allocations: 290.2 kB / 0.9889 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/1.113, allocations: 1.058 MB / 0.9899 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/1.113, allocations: 0.869 MB / 0.9908 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007234/1.114, allocations: 124.6 kB / 0.9909 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/1.114, allocations: 40.25 kB / 0.9909 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/1.114, allocations: 0 / 0.9909 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of Templates: time 0.0234/1.138, allocations: 10.78 MB / 1.001 GB, free: 14.6 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)