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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008686/0.0008686, allocations: 175 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007167/0.000717, allocations: 88.84 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003983, allocations: 10.41 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.205, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6793/0.8843, allocations: 297.9 MB / 1.188 GB, free: 4.582 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06886/0.9532, allocations: 49.66 MB / 1.236 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01414/0.9674, allocations: 262.3 kB / 1.236 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.9796, allocations: 2.786 MB / 1.239 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.03017/1.01, allocations: 8.361 MB / 1.247 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01789/1.028, allocations: 5.867 MB / 1.253 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.03176/1.06, allocations: 24.45 MB / 1.277 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/1.071, allocations: 4.623 MB / 1.281 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01792/1.089, allocations: 6.303 MB / 1.288 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/1.1, allocations: 4.883 MB / 1.292 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.00334/1.103, allocations: 232 kB / 1.293 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/1.118, allocations: 3.909 MB / 1.296 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.003497/1.121, allocations: 1.119 MB / 1.297 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.009859/1.131, allocations: 3.275 MB / 1.301 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/1.146, allocations: 7.656 MB / 1.308 GB, free: 11.35 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/1.146, allocations: 0 / 1.308 GB, free: 11.35 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.787e-06/1.146, allocations: 4 kB / 1.308 GB, free: 11.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000462/1.147, allocations: 0 / 1.308 GB, free: 11.34 MB / 0.823 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.01487/1.161, allocations: 6.163 MB / 1.314 GB, free: 5.043 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/1.162, allocations: 8.031 kB / 1.314 GB, free: 5.035 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/1.166, allocations: 0.7842 MB / 1.315 GB, free: 4.242 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/1.178, allocations: 5.142 MB / 1.32 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/1.179, allocations: 320.1 kB / 1.32 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/1.18, allocations: 439.9 kB / 1.321 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/1.191, allocations: 4.35 MB / 1.325 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/1.191, allocations: 11.84 kB / 1.325 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007578/1.192, allocations: 176 kB / 1.325 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/1.192, allocations: 123.9 kB / 1.325 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007305/1.199, allocations: 2.965 MB / 1.328 GB, free: 6.375 MB / 0.8386 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.03256/1.232, allocations: 24.99 MB / 1.352 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/1.235, allocations: 2.761 MB / 1.355 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.237, allocations: 1.003 MB / 1.356 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002654/1.24, allocations: 3.924 MB / 1.36 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.686e-05/1.24, allocations: 60.56 kB / 1.36 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=217): time 4.869e-06/1.24, allocations: 0 / 1.36 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=217): time 0.01116/1.251, allocations: 4.123 MB / 1.364 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/1.251, allocations: 73.41 kB / 1.364 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00818/1.259, allocations: 4.195 MB / 1.368 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00053/1.26, allocations: 81.7 kB / 1.368 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002553/1.263, allocations: 2.771 MB / 1.371 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.264, allocations: 0.7586 MB / 1.372 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005755/1.264, allocations: 235.6 kB / 1.372 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/1.265, allocations: 301.1 kB / 1.372 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/1.266, allocations: 0.8177 MB / 1.373 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/1.269, allocations: 1.837 MB / 1.375 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004334/1.273, allocations: 2.517 MB / 1.377 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.493e-05/1.273, allocations: 8 kB / 1.377 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01013/1.283, allocations: 3.571 MB / 1.381 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005906/1.284, allocations: 0.7411 MB / 1.382 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/1.284, allocations: 24 kB / 1.382 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002724/1.287, allocations: 0.5886 MB / 1.382 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/1.289, allocations: 0.5538 MB / 1.383 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/1.292, allocations: 2.693 MB / 1.385 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006292/1.299, allocations: 0.6216 MB / 1.386 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007143/1.299, allocations: 135.9 kB / 1.386 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.299, allocations: 4 kB / 1.386 GB, free: 6.477 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007312/1.307, allocations: 2.83 MB / 1.389 GB, free: 3.594 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.025e-05/1.307, allocations: 23.94 kB / 1.389 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/1.308, allocations: 363.3 kB / 1.389 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.31, allocations: 0.5577 MB / 1.39 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009065/1.319, allocations: 7.712 MB / 1.397 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00601/1.325, allocations: 0.5717 MB / 1.398 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006795/1.326, allocations: 132.1 kB / 1.398 GB, free: 9.637 MB / 0.9167 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.003564/1.329, allocations: 0.9928 MB / 1.399 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002565/1.332, allocations: 0.5017 MB / 1.399 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008417/1.34, allocations: 3.588 MB / 1.403 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.349e-05/1.34, allocations: 35.97 kB / 1.403 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.027e-05/1.34, allocations: 8 kB / 1.403 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004442/1.345, allocations: 2.45 MB / 1.405 GB, free: 1.922 MB / 0.9167 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.4575/1.802, allocations: 8.179 MB / 1.413 GB, free: 351.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.802, allocations: 0 / 1.413 GB, free: 351.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.804, allocations: 362.3 kB / 1.414 GB, free: 351.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000782/1.805, allocations: 311.5 kB / 1.414 GB, free: 351.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.805, allocations: 62.22 kB / 1.414 GB, free: 351.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/1.806, allocations: 2.495 MB / 1.416 GB, free: 349.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.806, allocations: 1.125 kB / 1.416 GB, free: 349.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009644/1.816, allocations: 4.35 MB / 1.421 GB, free: 349.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/1.819, allocations: 0.8667 MB / 1.422 GB, free: 349.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/1.82, allocations: 42.56 kB / 1.422 GB, free: 349.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004105/1.824, allocations: 424.7 kB / 1.422 GB, free: 349.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/1.825, allocations: 163.9 kB / 1.422 GB, free: 349.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003082/1.825, allocations: 104 kB / 1.422 GB, free: 349.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005864/1.831, allocations: 2.771 MB / 1.425 GB, free: 348.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.6e-07/1.831, allocations: 0 / 1.425 GB, free: 348.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01233/1.843, allocations: 3.265 MB / 1.428 GB, free: 348.1 MB / 0.9167 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.003034/1.846, allocations: 1.502 MB / 1.43 GB, free: 347.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008629/1.855, allocations: 4.448 MB / 1.434 GB, free: 346 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.855, allocations: 1.719 kB / 1.434 GB, free: 346 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/1.857, allocations: 1.236 MB / 1.435 GB, free: 345.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.015/1.872, allocations: 2.672 MB / 1.438 GB, free: 345 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.888, allocations: 11.44 MB / 1.449 GB, free: 338.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00213/1.89, allocations: 2.849 MB / 1.452 GB, free: 337.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/1.892, allocations: 423.3 kB / 1.452 GB, free: 337.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.233e-06/1.892, allocations: 11.22 kB / 1.452 GB, free: 337.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.1819/2.074, allocations: 189.5 MB / 1.637 GB, free: 152.6 MB / 0.9167 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)