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.5602/0.5602, allocations: 95.61 MB / 110.6 MB, free: 9.367 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.001186/0.001186, allocations: 171.3 kB / 134.2 MB, free: 2.266 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.431/1.431, allocations: 170.7 MB / 328.4 MB, free: 12.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.001746/0.001746, allocations: 103.9 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 16 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 61.53 MB / 0.512 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9503/1.088, allocations: 415.9 MB / 0.9181 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.089, allocations: 91.33 kB / 0.9182 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.465/8.553, allocations: 1.85 GB / 2.768 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.256e-06/8.553, allocations: 2.469 kB / 2.768 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00109/8.554, allocations: 172.1 kB / 2.768 GB, free: 26.21 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.02168/8.576, allocations: 6.021 MB / 2.774 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/8.576, allocations: 10.73 kB / 2.774 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004832/8.581, allocations: 0.7201 MB / 2.774 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01863/8.6, allocations: 6.185 MB / 2.781 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006574/8.6, allocations: 0.5767 MB / 2.781 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/8.602, allocations: 394.7 kB / 2.781 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/8.614, allocations: 4.169 MB / 2.786 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/8.614, allocations: 8.812 kB / 2.786 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/8.616, allocations: 159.7 kB / 2.786 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.29e-05/8.616, allocations: 93.72 kB / 2.786 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008793/8.624, allocations: 2.87 MB / 2.789 GB, free: 21.14 MB / 0.6198 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.03817/8.663, allocations: 20.21 MB / 2.808 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004569/8.667, allocations: 2.349 MB / 2.811 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004619/8.672, allocations: 5.742 MB / 2.816 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.817e-05/8.672, allocations: 68.12 kB / 2.816 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=212): time 5.31e-06/8.672, allocations: 0 / 2.816 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=288): time 0.07293/8.745, allocations: 16.96 MB / 2.833 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/8.745, allocations: 134.2 kB / 2.833 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/8.756, allocations: 3.384 MB / 2.836 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001177/8.758, allocations: 90.77 kB / 2.836 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002509/8.76, allocations: 2.607 MB / 2.839 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001346/8.761, allocations: 0.9849 MB / 2.84 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/8.762, allocations: 64.97 kB / 2.84 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002636/8.762, allocations: 435.9 kB / 2.84 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/8.764, allocations: 1.08 MB / 2.841 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002894/8.767, allocations: 2.201 MB / 2.844 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/8.77, allocations: 1.408 MB / 2.845 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/8.77, allocations: 9.25 kB / 2.845 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.009501/8.779, allocations: 4.155 MB / 2.849 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.005799/8.785, allocations: 11.99 MB / 2.861 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.026e-05/8.785, allocations: 23.84 kB / 2.861 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00872/8.794, allocations: 1.764 MB / 2.862 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/8.797, allocations: 0.6266 MB / 2.863 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005419/8.802, allocations: 5.47 MB / 2.868 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007193/8.809, allocations: 424.8 kB / 2.869 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/8.811, allocations: 169.8 kB / 2.869 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/8.811, allocations: 3.531 kB / 2.869 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01016/8.821, allocations: 4.15 MB / 2.873 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/8.821, allocations: 31.03 kB / 2.873 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003983/8.825, allocations: 1.145 MB / 2.874 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/8.828, allocations: 0.6327 MB / 2.875 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/8.84, allocations: 10.48 MB / 2.885 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007272/8.848, allocations: 404.2 kB / 2.885 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/8.849, allocations: 166.4 kB / 2.886 GB, free: 2.496 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 () * Number of clocked 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.006302/8.855, allocations: 1.003 MB / 2.887 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003852/8.859, allocations: 0.4951 MB / 2.887 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/8.875, allocations: 4.581 MB / 2.892 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.293e-05/8.875, allocations: 44.62 kB / 2.892 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/8.875, allocations: 4.891 kB / 2.892 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-05/8.875, allocations: 15.92 kB / 2.892 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02493/8.9, allocations: 9.206 MB / 2.901 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/8.9, allocations: 3.75 kB / 2.901 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/8.902, allocations: 434.9 kB / 2.901 GB, free: 488 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007907/8.91, allocations: 1.634 MB / 2.903 GB, free: 360 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006743/8.91, allocations: 87.12 kB / 2.903 GB, free: 360 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004681/8.915, allocations: 5.113 MB / 2.908 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/8.915, allocations: 2.156 kB / 2.908 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/8.929, allocations: 5.598 MB / 2.913 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003339/8.932, allocations: 0.5961 MB / 2.914 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002271/8.935, allocations: 54.88 kB / 2.914 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005944/8.941, allocations: 433.6 kB / 2.914 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004987/8.941, allocations: 187.5 kB / 2.914 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008367/8.942, allocations: 164.3 kB / 2.915 GB, free: 11 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.006944/8.949, allocations: 2.569 MB / 2.917 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.81e-07/8.949, allocations: 0 / 2.917 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01924/8.968, allocations: 3.126 MB / 2.92 GB, free: 8.992 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 () * Number of clocked 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.009248/8.978, allocations: 3.334 MB / 2.923 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01478/8.992, allocations: 5.694 MB / 2.929 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/8.993, allocations: 5 kB / 2.929 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.5445/9.537, allocations: 1.805 MB / 2.931 GB, free: 69.88 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0159/9.553, allocations: 2.464 MB / 2.933 GB, free: 69.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/9.576, allocations: 10.94 MB / 2.944 GB, free: 65.15 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003496/9.58, allocations: 2.898 MB / 2.947 GB, free: 64.35 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.007915/9.588, allocations: 1.245 MB / 2.948 GB, free: 64.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/9.589, allocations: 417.1 kB / 2.948 GB, free: 64.29 MB / 0.6667 GB Notification: Performance of SimCode: time 3.837e-06/9.589, allocations: 0 / 2.948 GB, free: 64.29 MB / 0.6667 GB Notification: Performance of Templates: time 0.2487/9.838, allocations: 127.1 MB / 3.072 GB, free: 53.02 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)