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.005447/0.005447, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001146/0.001146, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.438/1.438, allocations: 205.1 MB / 222.6 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.614/1.614, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001573/0.001573, allocations: 79.88 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2019, allocations: 104.7 MB / 0.8281 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7888/0.9908, allocations: 300.3 MB / 1.121 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.07607/1.067, allocations: 49.47 MB / 1.17 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0171/1.084, allocations: 286.3 kB / 1.17 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01234/1.096, allocations: 3.415 MB / 1.173 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.03128/1.128, allocations: 8.995 MB / 1.182 GB, free: 8.004 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.02155/1.149, allocations: 6.477 MB / 1.188 GB, free: 1.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.03111/1.181, allocations: 18.36 MB / 1.206 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/1.191, allocations: 5.797 MB / 1.212 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01959/1.21, allocations: 7.37 MB / 1.219 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01123/1.222, allocations: 5.082 MB / 1.224 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002987/1.225, allocations: 0.5586 MB / 1.225 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01612/1.241, allocations: 4.379 MB / 1.229 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003682/1.245, allocations: 1.49 MB / 1.23 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.009528/1.254, allocations: 3.709 MB / 1.234 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.02449/1.279, allocations: 10.37 MB / 1.244 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.279, allocations: 0 / 1.244 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/1.279, allocations: 0 / 1.244 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003343/1.279, allocations: 0 / 1.244 GB, free: 8.227 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.01543/1.295, allocations: 7.673 MB / 1.252 GB, free: 412 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.295, allocations: 12.03 kB / 1.252 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/1.297, allocations: 0.8156 MB / 1.252 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/1.308, allocations: 5.33 MB / 1.258 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/1.309, allocations: 320.1 kB / 1.258 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006794/1.309, allocations: 432 kB / 1.258 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007523/1.317, allocations: 4.346 MB / 1.263 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.715e-05/1.317, allocations: 15.88 kB / 1.263 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/1.317, allocations: 180 kB / 1.263 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/1.317, allocations: 112 kB / 1.263 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005016/1.323, allocations: 2.968 MB / 1.266 GB, free: 1.535 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.02626/1.349, allocations: 25.11 MB / 1.29 GB, free: 6.391 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/1.352, allocations: 2.771 MB / 1.293 GB, free: 3.395 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/1.353, allocations: 0.9915 MB / 1.294 GB, free: 2.414 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.572/1.925, allocations: 3.904 MB / 1.298 GB, free: 374.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/1.925, allocations: 63.62 kB / 1.298 GB, free: 374.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=217): time 8.186e-06/1.926, allocations: 0 / 1.298 GB, free: 374.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=217): time 0.01674/1.942, allocations: 4.091 MB / 1.302 GB, free: 373.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/1.942, allocations: 73.16 kB / 1.302 GB, free: 373.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/1.956, allocations: 4.27 MB / 1.306 GB, free: 372.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0007641/1.957, allocations: 82.36 kB / 1.306 GB, free: 372.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.003501/1.96, allocations: 2.813 MB / 1.309 GB, free: 370.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.962, allocations: 0.8029 MB / 1.31 GB, free: 370.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00219/1.964, allocations: 0.5803 MB / 1.31 GB, free: 369.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 6.258e-05/1.964, allocations: 305.9 kB / 1.311 GB, free: 369.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/1.967, allocations: 0.8214 MB / 1.311 GB, free: 369.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/1.97, allocations: 1.827 MB / 1.313 GB, free: 367.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005767/1.976, allocations: 2.509 MB / 1.316 GB, free: 366 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.047e-05/1.976, allocations: 5.969 kB / 1.316 GB, free: 366 MB / 1.029 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01129/1.988, allocations: 3.596 MB / 1.319 GB, free: 364.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/1.988, allocations: 14.38 kB / 1.319 GB, free: 364.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/1.988, allocations: 21.94 kB / 1.319 GB, free: 364.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/1.99, allocations: 0.5837 MB / 1.32 GB, free: 364.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/1.992, allocations: 0.5531 MB / 1.32 GB, free: 364.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/1.994, allocations: 2.692 MB / 1.323 GB, free: 361.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004614/1.999, allocations: 341.4 kB / 1.323 GB, free: 361.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004293/2, allocations: 137.2 kB / 1.323 GB, free: 361.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004177/2.004, allocations: 1.564 MB / 1.325 GB, free: 361 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002618/2.006, allocations: 1.801 MB / 1.327 GB, free: 359.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004263/2.011, allocations: 2.46 MB / 1.329 GB, free: 357.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.729e-05/2.011, allocations: 5.5 kB / 1.329 GB, free: 357.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.008898/2.02, allocations: 3.338 MB / 1.332 GB, free: 356.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/2.02, allocations: 16.31 kB / 1.332 GB, free: 356.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-05/2.02, allocations: 21.5 kB / 1.332 GB, free: 356.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/2.021, allocations: 369.4 kB / 1.333 GB, free: 356.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/2.023, allocations: 0.5532 MB / 1.333 GB, free: 356.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007891/2.031, allocations: 8.452 MB / 1.342 GB, free: 348.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004557/2.035, allocations: 323.5 kB / 1.342 GB, free: 348.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003266/2.036, allocations: 131.4 kB / 1.342 GB, free: 348.7 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.0008912/2.037, allocations: 369.8 kB / 1.342 GB, free: 348.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/2.038, allocations: 0.5284 MB / 1.343 GB, free: 348.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006191/2.044, allocations: 3.568 MB / 1.346 GB, free: 346.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.775e-05/2.044, allocations: 38.25 kB / 1.346 GB, free: 346.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/2.044, allocations: 0 / 1.346 GB, free: 346.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003403/2.048, allocations: 2.442 MB / 1.349 GB, free: 345.6 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.01071/2.059, allocations: 8.166 MB / 1.357 GB, free: 341.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/2.059, allocations: 3.969 kB / 1.357 GB, free: 341.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/2.06, allocations: 363.1 kB / 1.357 GB, free: 341.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006567/2.061, allocations: 309 kB / 1.357 GB, free: 341.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/2.061, allocations: 67.09 kB / 1.357 GB, free: 341.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/2.062, allocations: 2.497 MB / 1.36 GB, free: 339.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/2.062, allocations: 0 / 1.36 GB, free: 339.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/2.068, allocations: 4.357 MB / 1.364 GB, free: 337.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/2.069, allocations: 0.8881 MB / 1.365 GB, free: 336.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005355/2.07, allocations: 47.19 kB / 1.365 GB, free: 336.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/2.072, allocations: 123.2 kB / 1.365 GB, free: 336.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/2.073, allocations: 150.8 kB / 1.365 GB, free: 336.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/2.073, allocations: 105.4 kB / 1.365 GB, free: 336.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003853/2.077, allocations: 2.829 MB / 1.368 GB, free: 335 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.8e-07/2.077, allocations: 2.75 kB / 1.368 GB, free: 335 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.007442/2.084, allocations: 3.259 MB / 1.371 GB, free: 333.4 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.002617/2.087, allocations: 1.52 MB / 1.373 GB, free: 332.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00656/2.093, allocations: 4.433 MB / 1.377 GB, free: 327.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/2.093, allocations: 7.312 kB / 1.377 GB, free: 327.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/2.095, allocations: 1.233 MB / 1.378 GB, free: 326.4 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01114/2.106, allocations: 2.663 MB / 1.381 GB, free: 323.9 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/2.118, allocations: 9.162 MB / 1.39 GB, free: 314.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/2.12, allocations: 2.865 MB / 1.393 GB, free: 311.9 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.004351/2.124, allocations: 1.143 MB / 1.394 GB, free: 310.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008135/2.125, allocations: 411.2 kB / 1.394 GB, free: 310.3 MB / 1.029 GB Notification: Performance of SimCode: time 1.633e-06/2.125, allocations: 0 / 1.394 GB, free: 310.3 MB / 1.029 GB Notification: Performance of Templates: time 0.1406/2.266, 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)