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.38/1.38, allocations: 252 MB / 267.6 MB, free: 10.91 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.0009784/0.0009783, allocations: 174.2 kB / 327.3 MB, free: 2.207 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.819/1.819, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0007089/0.0007088, allocations: 102.9 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003106, allocations: 9.688 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2018, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7663/0.9681, allocations: 277.5 MB / 1.172 GB, free: 15.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06791/1.036, allocations: 46.48 MB / 1.217 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0144/1.051, allocations: 246.3 kB / 1.217 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01208/1.063, allocations: 2.387 MB / 1.22 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02984/1.093, allocations: 7.216 MB / 1.227 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01689/1.109, allocations: 4.641 MB / 1.231 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.03483/1.144, allocations: 20.95 MB / 1.252 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01369/1.158, allocations: 4.257 MB / 1.256 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01973/1.178, allocations: 5.891 MB / 1.262 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/1.191, allocations: 4.596 MB / 1.266 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.003723/1.195, allocations: 236 kB / 1.266 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01534/1.21, allocations: 2.639 MB / 1.269 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.004271/1.215, allocations: 1.046 MB / 1.27 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.00593/1.221, allocations: 1.366 MB / 1.271 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01539/1.236, allocations: 7.377 MB / 1.279 GB, free: 8.016 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/1.236, allocations: 3.984 kB / 1.279 GB, free: 8.012 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.135e-06/1.236, allocations: 0 / 1.279 GB, free: 8.012 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000517/1.237, allocations: 0 / 1.279 GB, free: 8.012 MB / 0.7917 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.01675/1.253, allocations: 6.241 MB / 1.285 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.253, allocations: 16.03 kB / 1.285 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/1.257, allocations: 0.7881 MB / 1.285 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/1.271, allocations: 4.936 MB / 1.29 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004407/1.271, allocations: 320.1 kB / 1.291 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/1.273, allocations: 432 kB / 1.291 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/1.286, allocations: 4.322 MB / 1.295 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002308/1.286, allocations: 15.78 kB / 1.295 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009685/1.287, allocations: 179.9 kB / 1.295 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/1.287, allocations: 119.9 kB / 1.296 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008821/1.296, allocations: 2.937 MB / 1.298 GB, free: 3.223 MB / 0.8073 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.04655/1.343, allocations: 24.97 MB / 1.323 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006709/1.349, allocations: 2.745 MB / 1.325 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003342/1.353, allocations: 0.9993 MB / 1.326 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005406/1.358, allocations: 3.916 MB / 1.33 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/1.358, allocations: 68.5 kB / 1.33 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=217): time 1.104e-05/1.358, allocations: 0 / 1.33 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=217): time 0.02076/1.379, allocations: 4.057 MB / 1.334 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/1.379, allocations: 81.34 kB / 1.334 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01438/1.394, allocations: 4.156 MB / 1.338 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007889/1.395, allocations: 81.7 kB / 1.339 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.004313/1.399, allocations: 2.763 MB / 1.341 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001749/1.401, allocations: 0.7663 MB / 1.342 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004389/1.401, allocations: 56 kB / 1.342 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004113/1.402, allocations: 423.8 kB / 1.342 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003046/1.405, allocations: 0.7826 MB / 1.343 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004317/1.409, allocations: 1.798 MB / 1.345 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/1.413, allocations: 1.081 MB / 1.346 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.814e-05/1.413, allocations: 8 kB / 1.346 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01647/1.43, allocations: 3.5 MB / 1.349 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/1.431, allocations: 0.7495 MB / 1.35 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.566e-05/1.431, allocations: 20 kB / 1.35 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004902/1.436, allocations: 0.5652 MB / 1.351 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/1.44, allocations: 0.5538 MB / 1.351 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/1.444, allocations: 2.681 MB / 1.354 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009961/1.454, allocations: 0.6249 MB / 1.355 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008064/1.455, allocations: 132 kB / 1.355 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.455, allocations: 4 kB / 1.355 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01075/1.465, allocations: 2.806 MB / 1.357 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.653e-05/1.466, allocations: 23.94 kB / 1.357 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/1.467, allocations: 383.6 kB / 1.358 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/1.469, allocations: 0.5538 MB / 1.358 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008571/1.478, allocations: 7.681 MB / 1.366 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005297/1.483, allocations: 0.5785 MB / 1.366 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004478/1.484, allocations: 136.1 kB / 1.367 GB, free: 8.629 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002585/1.486, allocations: 0.9966 MB / 1.367 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001554/1.488, allocations: 0.5055 MB / 1.368 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006394/1.494, allocations: 3.576 MB / 1.371 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.722e-05/1.494, allocations: 35.97 kB / 1.371 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.494, allocations: 0 / 1.371 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003751/1.498, allocations: 2.431 MB / 1.374 GB, free: 0.9453 MB / 0.8855 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.01523/1.513, allocations: 8.162 MB / 1.382 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.513, allocations: 0 / 1.382 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.515, allocations: 363.5 kB / 1.382 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007615/1.516, allocations: 311.1 kB / 1.382 GB, free: 7.828 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.516, allocations: 67.97 kB / 1.383 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/1.517, allocations: 2.49 MB / 1.385 GB, free: 5.168 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.517, allocations: 8 kB / 1.385 GB, free: 5.16 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00789/1.525, allocations: 4.321 MB / 1.389 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003313/1.529, allocations: 0.9584 MB / 1.39 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009406/1.53, allocations: 40 kB / 1.39 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003398/1.533, allocations: 427.2 kB / 1.391 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/1.533, allocations: 157.8 kB / 1.391 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/1.534, allocations: 111.9 kB / 1.391 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004722/1.538, allocations: 2.725 MB / 1.394 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.01e-07/1.538, allocations: 0 / 1.394 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01229/1.551, allocations: 3.249 MB / 1.397 GB, free: 9.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002838/1.554, allocations: 1.424 MB / 1.398 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007622/1.561, allocations: 4.406 MB / 1.402 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.561, allocations: 0 / 1.402 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/1.563, allocations: 1.23 MB / 1.404 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4945/2.058, allocations: 2.661 MB / 1.406 GB, free: 347.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/2.077, allocations: 11.1 MB / 1.417 GB, free: 342.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004858/2.082, allocations: 2.854 MB / 1.42 GB, free: 341.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002639/2.084, allocations: 431.7 kB / 1.42 GB, free: 341.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.232e-06/2.084, allocations: 0 / 1.42 GB, free: 341.7 MB / 0.9167 GB Notification: Performance of Templates: time 0.1954/2.28, allocations: 189.7 MB / 1.605 GB, free: 178.8 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)