Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00729/0.00729, allocations: 105.6 kB / 15.74 MB, free: 6.055 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.001641/0.001641, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 251.7 MB / 0.5094 GB, free: 3.004 MB / 414.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.001397/0.001397, allocations: 75.88 kB / 0.7258 GB, free: 8.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.203, allocations: 104.7 MB / 0.8281 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7555/0.9586, allocations: 300.3 MB / 1.121 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.07259/1.031, allocations: 49.48 MB / 1.17 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01336/1.045, allocations: 282.3 kB / 1.17 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01268/1.057, allocations: 3.513 MB / 1.173 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.02999/1.087, allocations: 9.443 MB / 1.183 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01892/1.106, allocations: 6.546 MB / 1.189 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02658/1.133, allocations: 18.4 MB / 1.207 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01344/1.146, allocations: 5.798 MB / 1.213 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02191/1.168, allocations: 7.534 MB / 1.22 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/1.179, allocations: 5.091 MB / 1.225 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.003018/1.182, allocations: 0.5586 MB / 1.225 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/1.197, allocations: 4.379 MB / 1.23 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003841/1.2, allocations: 1.483 MB / 1.231 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0104/1.211, allocations: 3.717 MB / 1.235 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.02638/1.237, allocations: 10.33 MB / 1.245 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.237, allocations: 0 / 1.245 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.395e-06/1.237, allocations: 0 / 1.245 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0004471/1.238, allocations: 0 / 1.245 GB, free: 7.363 MB / 0.9825 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.02016/1.258, allocations: 7.439 MB / 1.252 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.258, allocations: 12.03 kB / 1.252 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/1.262, allocations: 0.7764 MB / 1.253 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/1.276, allocations: 5.278 MB / 1.258 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004206/1.276, allocations: 324.1 kB / 1.258 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/1.278, allocations: 431.9 kB / 1.259 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/1.289, allocations: 4.346 MB / 1.263 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001624/1.289, allocations: 19.81 kB / 1.263 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008149/1.29, allocations: 180 kB / 1.263 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/1.29, allocations: 116 kB / 1.263 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007533/1.298, allocations: 2.965 MB / 1.266 GB, free: 0.9844 MB / 0.9981 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.03315/1.331, allocations: 25.06 MB / 1.291 GB, free: 5.879 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003673/1.335, allocations: 2.763 MB / 1.293 GB, free: 2.895 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/1.336, allocations: 1.003 MB / 1.294 GB, free: 1.902 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5408/1.877, allocations: 3.894 MB / 1.298 GB, free: 373.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.242e-05/1.877, allocations: 60.03 kB / 1.298 GB, free: 373.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=217): time 4.468e-06/1.877, allocations: 4.625 kB / 1.298 GB, free: 373.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=217): time 0.01301/1.89, allocations: 4.067 MB / 1.302 GB, free: 373.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/1.891, allocations: 74.61 kB / 1.302 GB, free: 373.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.901, allocations: 4.272 MB / 1.307 GB, free: 371.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0007758/1.902, allocations: 80.39 kB / 1.307 GB, free: 371.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.002787/1.905, allocations: 2.763 MB / 1.309 GB, free: 370.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.906, allocations: 0.7623 MB / 1.31 GB, free: 369.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/1.907, allocations: 0.5801 MB / 1.311 GB, free: 369.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/1.907, allocations: 301.8 kB / 1.311 GB, free: 369.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/1.909, allocations: 0.8254 MB / 1.312 GB, free: 368.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/1.911, allocations: 1.824 MB / 1.313 GB, free: 367.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/1.915, allocations: 2.509 MB / 1.316 GB, free: 365.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/1.915, allocations: 10.5 kB / 1.316 GB, free: 365.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01028/1.925, allocations: 3.565 MB / 1.319 GB, free: 364.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/1.925, allocations: 14.34 kB / 1.319 GB, free: 364.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.34e-05/1.926, allocations: 23.67 kB / 1.319 GB, free: 364.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003062/1.929, allocations: 0.5838 MB / 1.32 GB, free: 363.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002754/1.931, allocations: 0.5538 MB / 1.321 GB, free: 363.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/1.934, allocations: 2.689 MB / 1.323 GB, free: 361.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/1.94, allocations: 332.9 kB / 1.324 GB, free: 361.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006557/1.941, allocations: 140.8 kB / 1.324 GB, free: 361.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004342/1.945, allocations: 1.562 MB / 1.325 GB, free: 360.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002375/1.948, allocations: 1.799 MB / 1.327 GB, free: 359.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003769/1.951, allocations: 2.46 MB / 1.329 GB, free: 357.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.745e-05/1.951, allocations: 6.469 kB / 1.329 GB, free: 357.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.008543/1.96, allocations: 3.321 MB / 1.333 GB, free: 356 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/1.96, allocations: 14.16 kB / 1.333 GB, free: 356 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/1.96, allocations: 22.44 kB / 1.333 GB, free: 356 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/1.961, allocations: 366.1 kB / 1.333 GB, free: 355.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.963, allocations: 0.554 MB / 1.333 GB, free: 355.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00784/1.971, allocations: 8.448 MB / 1.342 GB, free: 348.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007133/1.978, allocations: 311 kB / 1.342 GB, free: 348.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/1.979, allocations: 132.3 kB / 1.342 GB, free: 348.2 MB / 1.029 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001312/1.981, allocations: 366 kB / 1.343 GB, free: 347.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002798/1.983, allocations: 0.5101 MB / 1.343 GB, free: 347.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007189/1.991, allocations: 3.568 MB / 1.346 GB, free: 346.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.672e-05/1.991, allocations: 38.38 kB / 1.347 GB, free: 346.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.991, allocations: 0.6562 kB / 1.347 GB, free: 346.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003544/1.994, allocations: 2.443 MB / 1.349 GB, free: 345.2 MB / 1.029 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 postOpt removeSimpleEquations (simulation): time 0.01318/2.007, allocations: 8.149 MB / 1.357 GB, free: 341.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/2.007, allocations: 6.562 kB / 1.357 GB, free: 341.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/2.009, allocations: 359.3 kB / 1.357 GB, free: 341.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006382/2.009, allocations: 310.3 kB / 1.358 GB, free: 341 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/2.009, allocations: 66.59 kB / 1.358 GB, free: 341 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/2.011, allocations: 2.497 MB / 1.36 GB, free: 338.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/2.011, allocations: 0 / 1.36 GB, free: 338.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006868/2.018, allocations: 4.337 MB / 1.364 GB, free: 336.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/2.02, allocations: 0.8656 MB / 1.365 GB, free: 336.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006738/2.021, allocations: 46.59 kB / 1.365 GB, free: 336.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/2.023, allocations: 123.3 kB / 1.365 GB, free: 336.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/2.023, allocations: 151 kB / 1.365 GB, free: 336.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/2.023, allocations: 105 kB / 1.366 GB, free: 336 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0043/2.028, allocations: 2.829 MB / 1.368 GB, free: 334.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.81e-07/2.028, allocations: 0 / 1.368 GB, free: 334.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.009711/2.037, allocations: 3.231 MB / 1.371 GB, free: 333.1 MB / 1.029 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002839/2.04, allocations: 1.503 MB / 1.373 GB, free: 331.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007229/2.047, allocations: 4.43 MB / 1.377 GB, free: 327.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/2.047, allocations: 4 kB / 1.377 GB, free: 327.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/2.049, allocations: 1.231 MB / 1.378 GB, free: 326.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/2.064, allocations: 2.673 MB / 1.381 GB, free: 323.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/2.081, allocations: 8.959 MB / 1.39 GB, free: 314.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/2.083, allocations: 2.861 MB / 1.393 GB, free: 311.9 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.004732/2.087, allocations: 1.148 MB / 1.394 GB, free: 310.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/2.088, allocations: 419.2 kB / 1.394 GB, free: 310.3 MB / 1.029 GB Notification: Performance of SimCode: time 9.41e-07/2.088, allocations: 0 / 1.394 GB, free: 310.3 MB / 1.029 GB Notification: Performance of Templates: time 0.1427/2.231, allocations: 105.3 MB / 1.497 GB, free: 206.6 MB / 1.029 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)