Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 289.9 MB / 297.4 MB, free: 6.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 172.9 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008664/0.0008663, allocations: 92.73 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.128e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7711, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/2.016, allocations: 410.4 MB / 1.374 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/2.016, allocations: 96.22 kB / 1.374 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 10.5/12.52, allocations: 2.722 GB / 4.096 GB, free: 50.98 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.613e-06/12.52, allocations: 3.375 kB / 4.096 GB, free: 50.98 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0009719/12.52, allocations: 168.5 kB / 4.097 GB, free: 50.95 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01778/12.54, allocations: 5.916 MB / 4.102 GB, free: 48.06 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/12.54, allocations: 8.562 kB / 4.102 GB, free: 48.06 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004854/12.54, allocations: 0.7725 MB / 4.103 GB, free: 47.69 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1206/12.66, allocations: 59.37 MB / 4.161 GB, free: 44.29 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/12.66, allocations: 128 kB / 4.161 GB, free: 44.29 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/12.66, allocations: 254 kB / 4.161 GB, free: 44.29 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00664/12.67, allocations: 2.521 MB / 4.164 GB, free: 44.26 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008182/12.68, allocations: 3.607 MB / 4.167 GB, free: 43.46 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/12.68, allocations: 18.56 kB / 4.167 GB, free: 43.45 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004618/12.68, allocations: 6.781 kB / 4.167 GB, free: 43.45 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/12.68, allocations: 121.6 kB / 4.168 GB, free: 43.44 MB / 1.057 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.03567/12.72, allocations: 23.38 MB / 4.19 GB, free: 28.98 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003003/12.72, allocations: 2.839 MB / 4.193 GB, free: 27.81 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/12.72, allocations: 1 MB / 4.194 GB, free: 27.78 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003062/12.72, allocations: 3.938 MB / 4.198 GB, free: 23.36 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.711e-05/12.72, allocations: 61.16 kB / 4.198 GB, free: 23.32 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 6.232e-06/12.72, allocations: 0 / 4.198 GB, free: 23.32 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.009438/12.73, allocations: 2.888 MB / 4.201 GB, free: 22.89 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/12.73, allocations: 74.47 kB / 4.201 GB, free: 22.82 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007121/12.74, allocations: 3.28 MB / 4.204 GB, free: 22.52 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0008499/12.74, allocations: 35.89 kB / 4.204 GB, free: 22.48 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002273/12.74, allocations: 2.768 MB / 4.207 GB, free: 21.6 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001343/12.75, allocations: 0.7571 MB / 4.208 GB, free: 21.09 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/12.75, allocations: 0 / 4.208 GB, free: 21.09 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001695/12.75, allocations: 411.3 kB / 4.208 GB, free: 20.78 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/12.75, allocations: 0.7277 MB / 4.209 GB, free: 20.77 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/12.75, allocations: 1.707 MB / 4.21 GB, free: 19.58 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/12.75, allocations: 1.364 MB / 4.212 GB, free: 19.5 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/12.75, allocations: 10.94 kB / 4.212 GB, free: 19.49 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009897/12.76, allocations: 3.47 MB / 4.215 GB, free: 18.94 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.004558/12.77, allocations: 10.3 MB / 4.225 GB, free: 24.09 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.716e-05/12.77, allocations: 27.39 kB / 4.225 GB, free: 24.09 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009421/12.77, allocations: 334.7 kB / 4.225 GB, free: 24.05 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/12.77, allocations: 0.5259 MB / 4.226 GB, free: 24.01 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/12.77, allocations: 2.759 MB / 4.229 GB, free: 21.89 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006599/12.78, allocations: 0.4966 MB / 4.229 GB, free: 21.72 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007153/12.78, allocations: 129.9 kB / 4.229 GB, free: 21.72 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/12.78, allocations: 6.5 kB / 4.229 GB, free: 21.72 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007875/12.79, allocations: 2.76 MB / 4.232 GB, free: 21.47 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.396e-05/12.79, allocations: 24.12 kB / 4.232 GB, free: 21.47 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008855/12.79, allocations: 351.8 kB / 4.232 GB, free: 21.43 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/12.79, allocations: 0.5288 MB / 4.233 GB, free: 21.39 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008964/12.8, allocations: 7.403 MB / 4.24 GB, free: 15.9 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00656/12.81, allocations: 466.6 kB / 4.241 GB, free: 15.77 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008307/12.81, allocations: 126.6 kB / 4.241 GB, free: 15.77 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001399/12.81, allocations: 188.4 kB / 4.241 GB, free: 15.61 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002389/12.81, allocations: 0.4936 MB / 4.241 GB, free: 15.35 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/12.82, allocations: 3.758 MB / 4.245 GB, free: 14.88 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.615e-05/12.82, allocations: 35.78 kB / 4.245 GB, free: 14.88 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/12.82, allocations: 3.953 kB / 4.245 GB, free: 14.87 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005981/12.83, allocations: 2.631 MB / 4.248 GB, free: 14.61 MB / 1.073 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 postOpt removeSimpleEquations (simulation): time 0.01911/12.85, allocations: 8.087 MB / 4.256 GB, free: 11.74 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/12.85, allocations: 0 / 4.256 GB, free: 11.74 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/12.85, allocations: 387.4 kB / 4.256 GB, free: 11.71 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004172/12.85, allocations: 231.1 kB / 4.256 GB, free: 11.62 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/12.85, allocations: 40.11 kB / 4.256 GB, free: 11.6 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/12.85, allocations: 2.503 MB / 4.259 GB, free: 9.328 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/12.85, allocations: 0 / 4.259 GB, free: 9.328 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009323/12.86, allocations: 4.713 MB / 4.263 GB, free: 7.16 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00387/12.87, allocations: 0.9836 MB / 4.264 GB, free: 6.539 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001542/12.87, allocations: 7.578 kB / 4.264 GB, free: 6.539 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004796/12.87, allocations: 397.4 kB / 4.265 GB, free: 6.469 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/12.87, allocations: 155.1 kB / 4.265 GB, free: 6.445 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003049/12.87, allocations: 111.8 kB / 4.265 GB, free: 6.426 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.004922/12.88, allocations: 2.43 MB / 4.267 GB, free: 5.449 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.41e-07/12.88, allocations: 0 / 4.267 GB, free: 5.449 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01695/12.89, allocations: 3.45 MB / 4.271 GB, free: 4.66 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006933/12.9, allocations: 3.429 MB / 4.274 GB, free: 2.82 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.007632/12.91, allocations: 4.239 MB / 4.278 GB, free: 0.9531 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/12.91, allocations: 0 / 4.278 GB, free: 0.9531 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/12.91, allocations: 1.228 MB / 4.279 GB, free: 0.5078 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01639/12.93, allocations: 2.658 MB / 4.282 GB, free: 15.93 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/12.95, allocations: 7.146 MB / 4.289 GB, free: 10.4 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004969/12.95, allocations: 2.997 MB / 4.292 GB, free: 8.223 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.009877/12.96, allocations: 1.49 MB / 4.293 GB, free: 7.16 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009712/12.96, allocations: 321.6 kB / 4.293 GB, free: 6.875 MB / 1.089 GB Notification: Performance of SimCode: time 2.235e-06/12.96, allocations: 4 kB / 4.293 GB, free: 6.871 MB / 1.089 GB Notification: Performance of Templates: time 1.157/14.12, allocations: 115.1 MB / 4.406 GB, free: 86.96 MB / 1.104 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)