Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.000999, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008043/0.008043, allocations: 172.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 11.25 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2762, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly): time 0.7749/1.051, allocations: 222.7 MB / 1.292 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0199/1.071, allocations: 14.53 MB / 1.306 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/1.074, allocations: 67.91 kB / 1.306 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003499/1.078, allocations: 0.9372 MB / 1.307 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008445/1.086, allocations: 2.502 MB / 1.309 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004579/1.091, allocations: 1.629 MB / 1.311 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008021/1.099, allocations: 6.32 MB / 1.317 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/1.101, allocations: 1.552 MB / 1.318 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004611/1.106, allocations: 1.979 MB / 1.32 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/1.108, allocations: 1.335 MB / 1.322 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/1.109, allocations: 72.81 kB / 1.322 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004949/1.114, allocations: 2.142 MB / 1.324 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006743/1.114, allocations: 0.5754 MB / 1.324 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001345/1.116, allocations: 1.115 MB / 1.326 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005126/1.121, allocations: 4.297 MB / 1.33 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/1.121, allocations: 0 / 1.33 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/1.121, allocations: 0 / 1.33 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.709e-05/1.121, allocations: 0 / 1.33 GB, free: 12.73 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003772/1.125, allocations: 2.492 MB / 1.332 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.125, allocations: 9.625 kB / 1.332 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/1.126, allocations: 388.6 kB / 1.333 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/1.129, allocations: 1.902 MB / 1.334 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-05/1.129, allocations: 108.3 kB / 1.334 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/1.13, allocations: 135.2 kB / 1.335 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/1.132, allocations: 1.613 MB / 1.336 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/1.132, allocations: 2.625 kB / 1.336 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/1.132, allocations: 57.61 kB / 1.336 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-05/1.132, allocations: 56.42 kB / 1.336 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/1.134, allocations: 1.242 MB / 1.338 GB, free: 10.43 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.007221/1.141, allocations: 6.635 MB / 1.344 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/1.143, allocations: 0.9557 MB / 1.345 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/1.143, allocations: 0.6336 MB / 1.346 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004543/1.144, allocations: 0.6816 MB / 1.346 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/1.144, allocations: 45.84 kB / 1.346 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.006e-06/1.144, allocations: 0 / 1.346 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.0052/1.149, allocations: 3.614 MB / 1.35 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/1.149, allocations: 146.1 kB / 1.35 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/1.151, allocations: 2.007 MB / 1.352 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/1.151, allocations: 46.27 kB / 1.352 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/1.152, allocations: 0.8855 MB / 1.353 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/1.152, allocations: 286.3 kB / 1.353 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.152, allocations: 94.78 kB / 1.353 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/1.152, allocations: 341 kB / 1.353 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/1.153, allocations: 0.621 MB / 1.354 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008899/1.154, allocations: 0.8568 MB / 1.355 GB, free: 0.6992 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005805/1.16, allocations: 3.93 MB / 1.359 GB, free: 14.24 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.16, allocations: 0 / 1.359 GB, free: 14.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003343/1.163, allocations: 1.878 MB / 1.361 GB, free: 13.22 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003353/1.164, allocations: 397.5 kB / 1.361 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.164, allocations: 3.531 kB / 1.361 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/1.164, allocations: 8.031 kB / 1.361 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/1.165, allocations: 176.5 kB / 1.361 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.165, allocations: 14.94 kB / 1.361 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/1.166, allocations: 115 kB / 1.361 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-05/1.166, allocations: 48.39 kB / 1.361 GB, free: 12.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/1.166, allocations: 2.656 kB / 1.361 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002367/1.169, allocations: 1.867 MB / 1.363 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.169, allocations: 8.812 kB / 1.363 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/1.169, allocations: 6.281 kB / 1.363 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/1.169, allocations: 179.8 kB / 1.363 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.169, allocations: 6.188 kB / 1.363 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/1.171, allocations: 119.2 kB / 1.363 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/1.171, allocations: 44.27 kB / 1.364 GB, free: 11.57 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001065/1.172, allocations: 0.7066 MB / 1.364 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/1.172, allocations: 198.5 kB / 1.364 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/1.174, allocations: 1.48 MB / 1.366 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/1.175, allocations: 10.25 kB / 1.366 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.175, allocations: 3.125 kB / 1.366 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001777/1.176, allocations: 1.523 MB / 1.367 GB, free: 9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00545/1.182, allocations: 3.59 MB / 1.371 GB, free: 6.535 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.182, allocations: 5.406 kB / 1.371 GB, free: 6.535 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/1.182, allocations: 164.9 kB / 1.371 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/1.183, allocations: 8.656 kB / 1.371 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/1.183, allocations: 34.06 kB / 1.371 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/1.183, allocations: 9.406 kB / 1.371 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.183, allocations: 7.625 kB / 1.371 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/1.186, allocations: 2.374 MB / 1.373 GB, free: 5.043 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007904/1.186, allocations: 454.5 kB / 1.374 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/1.187, allocations: 23.56 kB / 1.374 GB, free: 4.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.188, allocations: 95.8 kB / 1.374 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.188, allocations: 97.92 kB / 1.374 GB, free: 4.566 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/1.188, allocations: 44.12 kB / 1.374 GB, free: 4.555 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001941/1.19, allocations: 1.4 MB / 1.375 GB, free: 3.758 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.19, allocations: 2.469 kB / 1.375 GB, free: 3.758 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002201/1.192, allocations: 0.7794 MB / 1.376 GB, free: 3.684 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008549/1.193, allocations: 417.8 kB / 1.377 GB, free: 3.477 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003612/1.197, allocations: 3.067 MB / 1.38 GB, free: 1.594 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.197, allocations: 384 / 1.38 GB, free: 1.594 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.198, allocations: 1.005 MB / 1.381 GB, free: 1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/1.204, allocations: 1.016 MB / 1.382 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005971/1.21, allocations: 4.525 MB / 1.386 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.211, allocations: 1.519 MB / 1.387 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001631/1.213, allocations: 441 kB / 1.388 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/1.213, allocations: 131.8 kB / 1.388 GB, free: 12.11 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/1.213, allocations: 0 / 1.388 GB, free: 12.11 MB / 1.029 GB Notification: Performance of Templates: time 0.06606/1.279, allocations: 40.23 MB / 1.427 GB, free: 5.094 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)