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.5412/0.5412, allocations: 94.69 MB / 107.2 MB, free: 5.199 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.001235/0.001235, allocations: 167.4 kB / 130.7 MB, free: 7.555 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.764/1.764, allocations: 170.5 MB / 324.5 MB, free: 3.996 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.001646/0.001645, allocations: 112.5 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.914e-05/4.917e-05, allocations: 11.92 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.51, allocations: 61.5 MB / 0.5054 GB, free: 49.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.831, allocations: 415.8 MB / 0.9114 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/1.831, allocations: 92.78 kB / 0.9115 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.258/10.09, allocations: 1.843 GB / 2.755 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.608e-06/10.09, allocations: 1.312 kB / 2.755 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.001335/10.09, allocations: 173.9 kB / 2.755 GB, free: 24.9 MB / 0.6198 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.02412/10.11, allocations: 4.987 MB / 2.76 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/10.11, allocations: 7.875 kB / 2.76 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005575/10.12, allocations: 0.7161 MB / 2.76 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/10.14, allocations: 6.154 MB / 2.766 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007219/10.14, allocations: 0.5707 MB / 2.767 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/10.14, allocations: 395.4 kB / 2.767 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/10.15, allocations: 4.022 MB / 2.771 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-05/10.15, allocations: 10.25 kB / 2.771 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007416/10.15, allocations: 162.4 kB / 2.771 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/10.15, allocations: 94.09 kB / 2.772 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006762/10.16, allocations: 2.746 MB / 2.774 GB, free: 20.25 MB / 0.6198 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.03559/10.2, allocations: 20.21 MB / 2.794 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005445/10.2, allocations: 2.277 MB / 2.796 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/10.2, allocations: 1.13 MB / 2.797 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006693/10.21, allocations: 5.742 MB / 2.803 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/10.21, allocations: 67.25 kB / 2.803 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=212): time 5.1e-06/10.21, allocations: 0 / 2.803 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=288): time 0.0638/10.28, allocations: 15.05 MB / 2.818 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/10.28, allocations: 134.5 kB / 2.818 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007125/10.28, allocations: 3.344 MB / 2.821 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.00113/10.28, allocations: 96.02 kB / 2.821 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002342/10.29, allocations: 2.609 MB / 2.824 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001612/10.29, allocations: 0.9839 MB / 2.825 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/10.29, allocations: 66.69 kB / 2.825 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000274/10.29, allocations: 437 kB / 2.825 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/10.29, allocations: 0.997 MB / 2.826 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/10.29, allocations: 2.12 MB / 2.828 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/10.29, allocations: 1.334 MB / 2.829 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/10.3, allocations: 7.438 kB / 2.829 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.0082/10.3, allocations: 3.977 MB / 2.833 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.005307/10.31, allocations: 11.98 MB / 2.845 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.444e-05/10.31, allocations: 24.72 kB / 2.845 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007713/10.32, allocations: 1.684 MB / 2.847 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/10.32, allocations: 0.6324 MB / 2.847 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004467/10.32, allocations: 5.38 MB / 2.853 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006895/10.33, allocations: 425.2 kB / 2.853 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008592/10.33, allocations: 169 kB / 2.853 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/10.33, allocations: 3.375 kB / 2.853 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006786/10.34, allocations: 3.965 MB / 2.857 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-05/10.34, allocations: 24.84 kB / 2.857 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003274/10.34, allocations: 1.065 MB / 2.858 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/10.34, allocations: 0.6321 MB / 2.859 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/10.36, allocations: 10.31 MB / 2.869 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/10.36, allocations: 396.1 kB / 2.869 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009903/10.36, allocations: 167.2 kB / 2.869 GB, free: 1.742 MB / 0.6511 GB 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.001558/10.36, allocations: 320.2 kB / 2.87 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002483/10.37, allocations: 0.5023 MB / 2.87 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008836/10.38, allocations: 4.407 MB / 2.874 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-05/10.38, allocations: 38.77 kB / 2.874 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/10.38, allocations: 6.609 kB / 2.874 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/10.38, allocations: 15.33 kB / 2.875 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/10.4, allocations: 9.49 MB / 2.884 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/10.4, allocations: 3.609 kB / 2.884 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/10.4, allocations: 448.8 kB / 2.884 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007642/10.41, allocations: 1.531 MB / 2.886 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007047/10.41, allocations: 89.38 kB / 2.886 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003932/10.42, allocations: 5.01 MB / 2.891 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/10.42, allocations: 0 / 2.891 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/10.43, allocations: 5.318 MB / 2.896 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00351/10.43, allocations: 0.5897 MB / 2.896 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001664/10.43, allocations: 59.95 kB / 2.897 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00506/10.44, allocations: 438.5 kB / 2.897 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/10.44, allocations: 181.6 kB / 2.897 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005852/10.44, allocations: 162.2 kB / 2.897 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0055/10.44, allocations: 2.519 MB / 2.9 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.22e-07/10.44, allocations: 0 / 2.9 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.8292/11.27, allocations: 3.288 MB / 2.903 GB, free: 70.05 MB / 0.6667 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.01122/11.28, allocations: 3.336 MB / 2.906 GB, free: 69.01 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01658/11.3, allocations: 5.614 MB / 2.912 GB, free: 68.42 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.299e-05/11.3, allocations: 5.094 kB / 2.912 GB, free: 68.41 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004167/11.3, allocations: 1.64 MB / 2.913 GB, free: 68.39 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01942/11.32, allocations: 2.473 MB / 2.916 GB, free: 68.36 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/11.34, allocations: 7.291 MB / 2.923 GB, free: 66.57 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/11.35, allocations: 2.906 MB / 2.926 GB, free: 65.76 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.01189/11.36, allocations: 1.528 MB / 2.927 GB, free: 65.69 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/11.36, allocations: 325.4 kB / 2.927 GB, free: 65.68 MB / 0.6667 GB Notification: Performance of SimCode: time 3.507e-06/11.36, allocations: 0.5 kB / 2.927 GB, free: 65.68 MB / 0.6667 GB Notification: Performance of Templates: time 0.285/11.65, allocations: 140.6 MB / 3.065 GB, free: 47.89 MB / 0.6667 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)