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.322/1.322, allocations: 252 MB / 268 MB, free: 10.86 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.0009837/0.0009837, allocations: 174.9 kB / 327.6 MB, free: 2.086 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.448/1.448, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.000735/0.0007351, allocations: 93.73 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002995, allocations: 8.281 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1847, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6516/0.8364, allocations: 294 MB / 1.189 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06727/0.9038, allocations: 49.14 MB / 1.237 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01367/0.9175, allocations: 254.2 kB / 1.237 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01131/0.9288, allocations: 2.782 MB / 1.24 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.02756/0.9564, allocations: 8.37 MB / 1.248 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01675/0.9732, allocations: 5.856 MB / 1.253 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.03137/1.005, allocations: 24.44 MB / 1.277 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/1.015, allocations: 4.687 MB / 1.282 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0169/1.032, allocations: 6.299 MB / 1.288 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/1.042, allocations: 4.891 MB / 1.293 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002433/1.044, allocations: 232 kB / 1.293 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/1.057, allocations: 3.901 MB / 1.297 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002718/1.06, allocations: 1.112 MB / 1.298 GB, free: 4.938 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.008024/1.068, allocations: 3.312 MB / 1.301 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01428/1.082, allocations: 7.657 MB / 1.309 GB, free: 9.926 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.082, allocations: 0 / 1.309 GB, free: 9.926 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.525e-06/1.082, allocations: 0 / 1.309 GB, free: 9.926 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003835/1.083, allocations: 0 / 1.309 GB, free: 9.926 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.01451/1.097, allocations: 6.175 MB / 1.315 GB, free: 3.617 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.097, allocations: 8.031 kB / 1.315 GB, free: 3.609 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/1.101, allocations: 0.7803 MB / 1.315 GB, free: 2.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/1.113, allocations: 5.142 MB / 1.32 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/1.113, allocations: 316.1 kB / 1.321 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007905/1.114, allocations: 439.9 kB / 1.321 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007711/1.121, allocations: 4.349 MB / 1.325 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.043e-05/1.121, allocations: 15.78 kB / 1.325 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/1.122, allocations: 172 kB / 1.326 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/1.122, allocations: 123.9 kB / 1.326 GB, free: 7.926 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006111/1.128, allocations: 2.965 MB / 1.329 GB, free: 4.957 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.03019/1.158, allocations: 25 MB / 1.353 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/1.162, allocations: 2.765 MB / 1.356 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/1.163, allocations: 0.9993 MB / 1.357 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003096/1.166, allocations: 3.92 MB / 1.361 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.469e-05/1.166, allocations: 60.56 kB / 1.361 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=217): time 5.971e-06/1.166, allocations: 4 kB / 1.361 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=217): time 0.01049/1.177, allocations: 4.111 MB / 1.365 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.177, allocations: 77.41 kB / 1.365 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006952/1.184, allocations: 4.203 MB / 1.369 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006042/1.184, allocations: 81.7 kB / 1.369 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002432/1.187, allocations: 2.771 MB / 1.372 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/1.188, allocations: 0.7625 MB / 1.372 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.188, allocations: 56 kB / 1.372 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002054/1.188, allocations: 411.9 kB / 1.373 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/1.19, allocations: 0.8138 MB / 1.374 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/1.192, allocations: 1.837 MB / 1.375 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/1.195, allocations: 2.521 MB / 1.378 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/1.195, allocations: 8 kB / 1.378 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007955/1.203, allocations: 3.578 MB / 1.381 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005119/1.204, allocations: 0.742 MB / 1.382 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/1.204, allocations: 24 kB / 1.382 GB, free: 9.812 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/1.206, allocations: 0.5847 MB / 1.383 GB, free: 9.215 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.208, allocations: 0.5538 MB / 1.383 GB, free: 8.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/1.21, allocations: 2.697 MB / 1.386 GB, free: 5.859 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005542/1.216, allocations: 0.6161 MB / 1.386 GB, free: 5.242 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004624/1.216, allocations: 143.9 kB / 1.387 GB, free: 5.102 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.216, allocations: 4 kB / 1.387 GB, free: 5.098 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005164/1.222, allocations: 2.822 MB / 1.389 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/1.222, allocations: 27.97 kB / 1.389 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009494/1.223, allocations: 367.1 kB / 1.39 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/1.224, allocations: 0.5538 MB / 1.39 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008221/1.233, allocations: 7.724 MB / 1.398 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005523/1.238, allocations: 0.5751 MB / 1.398 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005182/1.239, allocations: 132 kB / 1.398 GB, free: 8.258 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.003019/1.242, allocations: 0.9928 MB / 1.399 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/1.243, allocations: 0.5016 MB / 1.4 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/1.251, allocations: 3.588 MB / 1.403 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.918e-05/1.251, allocations: 39.97 kB / 1.403 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.251, allocations: 0 / 1.403 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003795/1.255, allocations: 2.439 MB / 1.406 GB, free: 0.5586 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.5041/1.759, allocations: 8.186 MB / 1.414 GB, free: 347.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.759, allocations: 0.9688 kB / 1.414 GB, free: 347.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/1.76, allocations: 370.9 kB / 1.414 GB, free: 347.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007302/1.761, allocations: 303.2 kB / 1.414 GB, free: 347.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.761, allocations: 64.56 kB / 1.415 GB, free: 347.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/1.763, allocations: 2.501 MB / 1.417 GB, free: 345.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.763, allocations: 3.031 kB / 1.417 GB, free: 345.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008781/1.771, allocations: 4.34 MB / 1.421 GB, free: 344.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003403/1.775, allocations: 0.96 MB / 1.422 GB, free: 344.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/1.776, allocations: 54.08 kB / 1.422 GB, free: 344.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004631/1.781, allocations: 419.5 kB / 1.423 GB, free: 344.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004408/1.782, allocations: 149.4 kB / 1.423 GB, free: 344.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003901/1.782, allocations: 107.9 kB / 1.423 GB, free: 344.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.008342/1.79, allocations: 2.771 MB / 1.426 GB, free: 344.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.134e-06/1.79, allocations: 0 / 1.426 GB, free: 344.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01628/1.807, allocations: 3.273 MB / 1.429 GB, free: 344.2 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.004927/1.812, allocations: 1.489 MB / 1.43 GB, free: 344 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.822, allocations: 4.455 MB / 1.435 GB, free: 342.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/1.822, allocations: 1.562 kB / 1.435 GB, free: 342.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003554/1.826, allocations: 1.233 MB / 1.436 GB, free: 341.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01978/1.846, allocations: 2.685 MB / 1.438 GB, free: 341.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/1.869, allocations: 11.6 MB / 1.45 GB, free: 334.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004054/1.873, allocations: 2.848 MB / 1.452 GB, free: 333.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/1.875, allocations: 427.9 kB / 1.453 GB, free: 333.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.513e-06/1.875, allocations: 3.594 kB / 1.453 GB, free: 333.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.1852/2.06, allocations: 189.5 MB / 1.638 GB, free: 149.2 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)