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.001112/0.001112, allocations: 104.4 kB / 16.29 MB, free: 6.43 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.001324/0.001324, allocations: 184.1 kB / 17.22 MB, free: 5.934 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.437/1.437, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.798/1.798, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.002136/0.002136, allocations: 71.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2856, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8023/1.088, allocations: 181.8 MB / 0.9616 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007292/1.095, allocations: 4.439 MB / 0.9659 GB, free: 284 kB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/1.097, allocations: 19.88 kB / 0.9659 GB, free: 264 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0009821/1.098, allocations: 246.1 kB / 0.9662 GB, free: 16 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002924/1.101, allocations: 0.7658 MB / 0.9669 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004789/1.105, allocations: 1.515 MB / 0.9684 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001997/1.107, allocations: 1.262 MB / 0.9696 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007041/1.108, allocations: 449.3 kB / 0.9701 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/1.109, allocations: 0.5759 MB / 0.9706 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006835/1.11, allocations: 408.4 kB / 0.971 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.384e-05/1.11, allocations: 44 kB / 0.9711 GB, free: 11 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003632/1.114, allocations: 1.547 MB / 0.9726 GB, free: 9.453 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/1.114, allocations: 187.4 kB / 0.9727 GB, free: 9.27 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004165/1.114, allocations: 310.5 kB / 0.973 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002627/1.117, allocations: 1.309 MB / 0.9743 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.117, allocations: 0 / 0.9743 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.309e-06/1.117, allocations: 7.922 kB / 0.9743 GB, free: 7.645 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.316e-05/1.117, allocations: 0 / 0.9743 GB, free: 7.645 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.001832/1.119, allocations: 1.012 MB / 0.9753 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.119, allocations: 12.03 kB / 0.9753 GB, free: 6.559 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/1.121, allocations: 287.6 kB / 0.9756 GB, free: 6.277 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/1.122, allocations: 437.5 kB / 0.976 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/1.122, allocations: 29 kB / 0.9761 GB, free: 5.781 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/1.122, allocations: 48 kB / 0.9761 GB, free: 5.734 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/1.123, allocations: 0.5468 MB / 0.9766 GB, free: 5.156 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/1.123, allocations: 0 / 0.9766 GB, free: 5.156 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/1.123, allocations: 19.98 kB / 0.9767 GB, free: 5.137 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/1.123, allocations: 15.94 kB / 0.9767 GB, free: 5.121 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/1.124, allocations: 455.6 kB / 0.9771 GB, free: 4.672 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.002633/1.127, allocations: 2.121 MB / 0.9792 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009924/1.128, allocations: 408.1 kB / 0.9796 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/1.128, allocations: 229.3 kB / 0.9798 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007447/1.129, allocations: 404.9 kB / 0.9802 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/1.13, allocations: 291.6 kB / 0.9804 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=37): time 2.295e-06/1.13, allocations: 0 / 0.9804 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37): time 0.001804/1.132, allocations: 0.6848 MB / 0.9811 GB, free: 340 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/1.132, allocations: 59.41 kB / 0.9812 GB, free: 268 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/1.132, allocations: 498 kB / 0.9816 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/1.132, allocations: 37.7 kB / 0.9817 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/1.132, allocations: 260 kB / 0.9819 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/1.133, allocations: 130.2 kB / 0.9821 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/1.133, allocations: 82.12 kB / 0.9821 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.133, allocations: 370.8 kB / 0.9825 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/1.133, allocations: 192.8 kB / 0.9827 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/1.134, allocations: 320 kB / 0.983 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009851/1.135, allocations: 0.5378 MB / 0.9835 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.135, allocations: 1.969 kB / 0.9835 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001303/1.136, allocations: 0.6604 MB / 0.9841 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/1.136, allocations: 59.41 kB / 0.9842 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.136, allocations: 4 kB / 0.9842 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.136, allocations: 4 kB / 0.9842 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/1.137, allocations: 97.44 kB / 0.9843 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/1.137, allocations: 10.2 kB / 0.9843 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/1.137, allocations: 83.64 kB / 0.9844 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/1.137, allocations: 23.98 kB / 0.9844 GB, free: 12.78 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.0002488/1.138, allocations: 185.7 kB / 0.9846 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/1.138, allocations: 59.28 kB / 0.9846 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/1.139, allocations: 0.5426 MB / 0.9852 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.139, allocations: 4 kB / 0.9852 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.139, allocations: 3.984 kB / 0.9852 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.139, allocations: 0 / 0.9852 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/1.141, allocations: 1.357 MB / 0.9865 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.141, allocations: 4 kB / 0.9865 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/1.142, allocations: 72.27 kB / 0.9866 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.142, allocations: 15.94 kB / 0.9866 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/1.142, allocations: 11.98 kB / 0.9866 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/1.142, allocations: 13.94 kB / 0.9866 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.142, allocations: 7.094 kB / 0.9866 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/1.144, allocations: 0.9248 MB / 0.9875 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/1.144, allocations: 180.3 kB / 0.9877 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/1.144, allocations: 16.06 kB / 0.9877 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/1.144, allocations: 31.95 kB / 0.9878 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/1.144, allocations: 47.83 kB / 0.9878 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/1.144, allocations: 19.98 kB / 0.9878 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004876/1.145, allocations: 350.8 kB / 0.9881 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/1.145, allocations: 0 / 0.9881 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006521/1.146, allocations: 147.8 kB / 0.9883 GB, free: 8.625 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.0005162/1.146, allocations: 199.8 kB / 0.9885 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001232/1.147, allocations: 0.5851 MB / 0.9891 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.147, allocations: 0 / 0.9891 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000677/1.148, allocations: 290.5 kB / 0.9893 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.149, allocations: 279.5 kB / 0.9896 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/1.151, allocations: 1.04 MB / 0.9906 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/1.152, allocations: 0.8742 MB / 0.9915 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004048/1.152, allocations: 127.9 kB / 0.9916 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/1.152, allocations: 39.44 kB / 0.9916 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/1.152, allocations: 0 / 0.9916 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of Templates: time 0.01888/1.171, allocations: 10.77 MB / 1.002 GB, free: 10.62 MB / 0.795 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)