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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001119/0.001119, allocations: 198.6 kB / 16.91 MB, free: 6.195 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.412/1.412, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.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: 60.81 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2269, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7193/0.9463, allocations: 297.5 MB / 1.074 GB, free: 4.934 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.06854/1.015, allocations: 49.26 MB / 1.122 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01354/1.028, allocations: 262.3 kB / 1.122 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/1.04, allocations: 2.934 MB / 1.125 GB, free: 356 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03101/1.071, allocations: 8.377 MB / 1.133 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02045/1.092, allocations: 6.12 MB / 1.139 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02897/1.121, allocations: 18.49 MB / 1.157 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01088/1.132, allocations: 5.743 MB / 1.163 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02168/1.153, allocations: 7.438 MB / 1.17 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0114/1.165, allocations: 5.219 MB / 1.175 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00481/1.17, allocations: 0.5625 MB / 1.176 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01553/1.185, allocations: 4.452 MB / 1.18 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003678/1.189, allocations: 1.514 MB / 1.182 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01055/1.199, allocations: 3.736 MB / 1.185 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0147/1.214, allocations: 7.991 MB / 1.193 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.214, allocations: 0 / 1.193 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.354e-06/1.214, allocations: 0 / 1.193 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004547/1.215, allocations: 0 / 1.193 GB, free: 10.49 MB / 0.8887 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.01881/1.234, allocations: 7.471 MB / 1.201 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.234, allocations: 8.031 kB / 1.201 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/1.237, allocations: 0.7842 MB / 1.201 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/1.248, allocations: 5.15 MB / 1.206 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/1.248, allocations: 328.1 kB / 1.207 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009619/1.249, allocations: 435.9 kB / 1.207 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008518/1.258, allocations: 4.377 MB / 1.211 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.84e-05/1.258, allocations: 19.81 kB / 1.211 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003826/1.259, allocations: 176 kB / 1.212 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/1.259, allocations: 120 kB / 1.212 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005713/1.264, allocations: 2.957 MB / 1.215 GB, free: 4.172 MB / 0.9044 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.03106/1.295, allocations: 25.02 MB / 1.239 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/1.299, allocations: 2.76 MB / 1.242 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/1.3, allocations: 0.9954 MB / 1.243 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002903/1.303, allocations: 3.904 MB / 1.246 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.952e-05/1.303, allocations: 60.56 kB / 1.247 GB, free: 312 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=217): time 6.332e-06/1.303, allocations: 4 kB / 1.247 GB, free: 308 kB / 0.9356 GB Notification: Performance of matching and sorting (n=217): time 0.01159/1.315, allocations: 4.072 MB / 1.251 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/1.315, allocations: 81.41 kB / 1.251 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007475/1.322, allocations: 4.199 MB / 1.255 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0006622/1.323, allocations: 81.7 kB / 1.255 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002312/1.326, allocations: 2.788 MB / 1.257 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.327, allocations: 0.7586 MB / 1.258 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009107/1.328, allocations: 0.5763 MB / 1.259 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.328, allocations: 305.1 kB / 1.259 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/1.329, allocations: 0.8231 MB / 1.26 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/1.331, allocations: 1.83 MB / 1.262 GB, free: 224 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/1.335, allocations: 2.509 MB / 1.264 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/1.335, allocations: 8 kB / 1.264 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008675/1.344, allocations: 3.555 MB / 1.268 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/1.344, allocations: 19.98 kB / 1.268 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/1.344, allocations: 20 kB / 1.268 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/1.346, allocations: 0.5981 MB / 1.268 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/1.349, allocations: 0.5538 MB / 1.269 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/1.351, allocations: 2.691 MB / 1.271 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005281/1.356, allocations: 0.6165 MB / 1.272 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004811/1.357, allocations: 136 kB / 1.272 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00336/1.36, allocations: 1.564 MB / 1.274 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00222/1.362, allocations: 1.798 MB / 1.275 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003478/1.366, allocations: 2.467 MB / 1.278 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-05/1.366, allocations: 8 kB / 1.278 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007183/1.373, allocations: 3.305 MB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.373, allocations: 12 kB / 1.281 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/1.373, allocations: 27.98 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/1.374, allocations: 381.9 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.376, allocations: 0.5538 MB / 1.282 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008855/1.385, allocations: 8.443 MB / 1.29 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005513/1.39, allocations: 0.5963 MB / 1.291 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005119/1.391, allocations: 136 kB / 1.291 GB, free: 280 kB / 0.9825 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.4078/1.799, allocations: 363.1 kB / 1.291 GB, free: 366.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002056/1.801, allocations: 0.5043 MB / 1.292 GB, free: 366.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007683/1.808, allocations: 3.576 MB / 1.295 GB, free: 366.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.418e-05/1.808, allocations: 37.55 kB / 1.295 GB, free: 366.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.808, allocations: 3.75 kB / 1.295 GB, free: 366.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003632/1.812, allocations: 2.44 MB / 1.298 GB, free: 366.3 MB / 0.9825 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.01543/1.827, allocations: 8.205 MB / 1.306 GB, free: 363.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.828, allocations: 2.531 kB / 1.306 GB, free: 363.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.829, allocations: 371.1 kB / 1.306 GB, free: 363.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007323/1.83, allocations: 298.5 kB / 1.306 GB, free: 363.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/1.83, allocations: 65.31 kB / 1.306 GB, free: 363.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/1.831, allocations: 2.49 MB / 1.309 GB, free: 360.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.831, allocations: 1.188 kB / 1.309 GB, free: 360.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009361/1.841, allocations: 4.338 MB / 1.313 GB, free: 359.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003552/1.844, allocations: 0.8781 MB / 1.314 GB, free: 358.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/1.846, allocations: 43.8 kB / 1.314 GB, free: 358.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0049/1.851, allocations: 427 kB / 1.314 GB, free: 358.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004578/1.851, allocations: 153.4 kB / 1.315 GB, free: 358.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003541/1.852, allocations: 111.6 kB / 1.315 GB, free: 358.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006833/1.858, allocations: 2.77 MB / 1.317 GB, free: 357.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.062e-06/1.858, allocations: 0 / 1.317 GB, free: 357.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01415/1.873, allocations: 3.276 MB / 1.321 GB, free: 357.1 MB / 0.9825 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.003688/1.876, allocations: 1.464 MB / 1.322 GB, free: 356.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.889, allocations: 4.866 MB / 1.327 GB, free: 354.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/1.889, allocations: 0 / 1.327 GB, free: 354.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/1.891, allocations: 1.235 MB / 1.328 GB, free: 354.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01423/1.905, allocations: 2.681 MB / 1.331 GB, free: 353.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/1.925, allocations: 11.43 MB / 1.342 GB, free: 347.2 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/1.928, allocations: 2.855 MB / 1.345 GB, free: 346.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/1.929, allocations: 424.7 kB / 1.345 GB, free: 346.2 MB / 0.9825 GB Notification: Performance of SimCode: time 1.813e-06/1.929, allocations: 4 kB / 1.345 GB, free: 346.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.1732/2.103, allocations: 190.2 MB / 1.531 GB, free: 162.4 MB / 0.9825 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)