Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5522/0.5522, allocations: 94.77 MB / 102.2 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001127/0.001127, allocations: 179.4 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.841/1.841, allocations: 170.6 MB / 319.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001884/0.001884, allocations: 106.9 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.207e-05, allocations: 4 kB / 449.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1841, allocations: 61.53 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.7/1.884, allocations: 415.1 MB / 0.9041 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.885, allocations: 89.73 kB / 0.9042 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.475/10.36, allocations: 1.833 GB / 2.737 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 6.933e-06/10.36, allocations: 0 / 2.737 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.001832/10.36, allocations: 166.1 kB / 2.737 GB, free: 22.55 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 939 * Number of variables: 939 Notification: Performance of Generate backend data structure: time 0.0224/10.38, allocations: 4.993 MB / 2.742 GB, free: 20.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.753e-05/10.38, allocations: 10.44 kB / 2.742 GB, free: 20.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00622/10.39, allocations: 0.7163 MB / 2.743 GB, free: 19.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/10.41, allocations: 6.139 MB / 2.749 GB, free: 18.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005186/10.41, allocations: 449.2 kB / 2.749 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/10.42, allocations: 242.6 kB / 2.75 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00671/10.42, allocations: 2.416 MB / 2.752 GB, free: 18.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008077/10.43, allocations: 3.415 MB / 2.755 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.094e-05/10.43, allocations: 18.45 kB / 2.755 GB, free: 17.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007394/10.43, allocations: 6.688 kB / 2.755 GB, free: 17.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/10.43, allocations: 93.47 kB / 2.755 GB, free: 17.62 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.03706/10.47, allocations: 19.55 MB / 2.774 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/10.47, allocations: 2.149 MB / 2.777 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/10.47, allocations: 1.067 MB / 2.778 GB, free: 6.121 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006506/10.48, allocations: 5.741 MB / 2.783 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.758e-05/10.48, allocations: 71.09 kB / 2.783 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=212): time 6.772e-06/10.48, allocations: 0 / 2.783 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=288): time 0.04969/10.53, allocations: 11.26 MB / 2.794 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/10.53, allocations: 138.8 kB / 2.794 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/10.54, allocations: 2.972 MB / 2.797 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/10.54, allocations: 36.05 kB / 2.797 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003531/10.55, allocations: 2.618 MB / 2.8 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001542/10.55, allocations: 0.9539 MB / 2.801 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/10.55, allocations: 0 / 2.801 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003925/10.55, allocations: 435.1 kB / 2.801 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/10.55, allocations: 0.9581 MB / 2.802 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/10.56, allocations: 2.042 MB / 2.804 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007571/10.56, allocations: 1.953 MB / 2.806 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.47e-05/10.56, allocations: 7.812 kB / 2.806 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.01461/10.58, allocations: 4.364 MB / 2.81 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.007255/10.58, allocations: 11.88 MB / 2.822 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.751e-05/10.58, allocations: 26.86 kB / 2.822 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/10.59, allocations: 0.9398 MB / 2.823 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/10.59, allocations: 0.6337 MB / 2.823 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007222/10.6, allocations: 5.768 MB / 2.829 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007019/10.6, allocations: 352.1 kB / 2.829 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000667/10.6, allocations: 172.7 kB / 2.83 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/10.6, allocations: 6.578 kB / 2.83 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7881/11.39, allocations: 4.278 MB / 2.834 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.21e-05/11.39, allocations: 26.78 kB / 2.834 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/11.39, allocations: 0.5613 MB / 2.834 GB, free: 53.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/11.4, allocations: 0.6369 MB / 2.835 GB, free: 53.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/11.41, allocations: 14.38 MB / 2.849 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006628/11.42, allocations: 322.1 kB / 2.849 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009491/11.42, allocations: 149.6 kB / 2.849 GB, free: 43.34 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.res_6.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.hea6.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.res_2.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.res_11.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 9,1 9,1 12,1 12,1 9,1 9,1 12,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001487/11.42, allocations: 216.1 kB / 2.85 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002895/11.42, allocations: 496.7 kB / 2.85 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/11.44, allocations: 4.705 MB / 2.855 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-05/11.44, allocations: 42.52 kB / 2.855 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/11.44, allocations: 0 / 2.855 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-05/11.44, allocations: 15.38 kB / 2.855 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02688/11.46, allocations: 9.353 MB / 2.864 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/11.47, allocations: 0 / 2.864 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/11.47, allocations: 443.3 kB / 2.864 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/11.47, allocations: 0.725 MB / 2.865 GB, free: 41.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/11.47, allocations: 59.23 kB / 2.865 GB, free: 41.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/11.47, allocations: 5.309 MB / 2.87 GB, free: 37.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/11.47, allocations: 2.859 kB / 2.87 GB, free: 37.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/11.49, allocations: 5.639 MB / 2.876 GB, free: 36.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004057/11.49, allocations: 0.5707 MB / 2.876 GB, free: 36.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00217/11.5, allocations: 6.531 kB / 2.876 GB, free: 36.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006146/11.5, allocations: 383.5 kB / 2.877 GB, free: 36.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005119/11.5, allocations: 189.6 kB / 2.877 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006779/11.5, allocations: 164 kB / 2.877 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.006428/11.51, allocations: 2.18 MB / 2.879 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.32e-07/11.51, allocations: 0 / 2.879 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02254/11.53, allocations: 2.933 MB / 2.882 GB, free: 36.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hea1.vol.dynBal.medium.T,hea2.vol.dynBal.medium.T,hea3.vol.dynBal.medium.T,hea4.vol.dynBal.medium.T,mix1.dynBal.medium.T,hea5.vol.dynBal.medium.T,hea6.vol.dynBal.medium.T,hea7.vol.dynBal.medium.T,hea8.vol.dynBal.medium.T,mix2.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (263): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 5,1 7,1 7,1 10,1 5,1 7,1 7,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.009206/11.54, allocations: 3.333 MB / 2.885 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01412/11.56, allocations: 5.712 MB / 2.891 GB, free: 34.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/11.56, allocations: 3.594 kB / 2.891 GB, free: 34.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003856/11.56, allocations: 1.566 MB / 2.892 GB, free: 34.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01545/11.58, allocations: 2.333 MB / 2.895 GB, free: 34.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/11.59, allocations: 7.115 MB / 2.902 GB, free: 32.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/11.6, allocations: 2.92 MB / 2.905 GB, free: 31.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.008771/11.61, allocations: 1.49 MB / 2.906 GB, free: 31.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008634/11.61, allocations: 320.2 kB / 2.906 GB, free: 31.53 MB / 0.6355 GB Notification: Performance of SimCode: time 2.976e-06/11.61, allocations: 2.812 kB / 2.906 GB, free: 31.53 MB / 0.6355 GB Notification: Performance of Templates: time 0.2362/11.84, allocations: 120.7 MB / 3.024 GB, free: 4.727 MB / 0.6355 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.pipe 2>&1)