Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.565/2.565, allocations: 287.3 MB / 302.3 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001616/0.001616, allocations: 181.6 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001138, allocations: 92.09 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004703, allocations: 10.91 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2008, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.08195/0.2828, allocations: 60.63 MB / 1.037 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03802/0.3209, allocations: 17.71 MB / 1.055 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.3241, allocations: 79.38 kB / 1.055 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005324/0.3295, allocations: 1.12 MB / 1.056 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.3409, allocations: 2.691 MB / 1.058 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01482/0.3557, allocations: 3.588 MB / 1.062 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01047/0.3662, allocations: 4.837 MB / 1.067 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6448/1.011, allocations: 5.453 MB / 1.072 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007722/1.019, allocations: 2.496 MB / 1.074 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005425/1.024, allocations: 1.755 MB / 1.076 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001118/1.025, allocations: 131.7 kB / 1.076 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005794/1.031, allocations: 1.184 MB / 1.077 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002009/1.033, allocations: 0.6195 MB / 1.078 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/1.035, allocations: 0.6847 MB / 1.079 GB, free: 18.17 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008532/1.044, allocations: 3.719 MB / 1.082 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.044, allocations: 0 / 1.082 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.058e-06/1.044, allocations: 1.219 kB / 1.082 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001681/1.044, allocations: 0 / 1.082 GB, free: 17.86 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 0.01459/1.059, allocations: 4.016 MB / 1.086 GB, free: 16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.059, allocations: 8.906 kB / 1.086 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/1.064, allocations: 0.5848 MB / 1.087 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009009/1.073, allocations: 2.55 MB / 1.089 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/1.073, allocations: 145 kB / 1.089 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007315/1.074, allocations: 198.4 kB / 1.09 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00819/1.082, allocations: 2.519 MB / 1.092 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.637e-05/1.082, allocations: 12.59 kB / 1.092 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/1.082, allocations: 73.97 kB / 1.092 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/1.082, allocations: 42.22 kB / 1.092 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007585/1.09, allocations: 2.074 MB / 1.094 GB, free: 14.72 MB / 0.6823 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.02636/1.116, allocations: 12.4 MB / 1.106 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00561/1.122, allocations: 1.659 MB / 1.108 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0126/1.135, allocations: 4.272 MB / 1.112 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002858/1.138, allocations: 0.9191 MB / 1.113 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003333/1.141, allocations: 462.6 kB / 1.114 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 5.731e-06/1.141, allocations: 0.9688 kB / 1.114 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.02971/1.171, allocations: 5.285 MB / 1.119 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002456/1.171, allocations: 220.3 kB / 1.119 GB, free: 21.14 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007771/1.179, allocations: 3.149 MB / 1.122 GB, free: 20.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000554/1.179, allocations: 62.02 kB / 1.122 GB, free: 20.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001851/1.181, allocations: 1.485 MB / 1.123 GB, free: 19.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006602/1.182, allocations: 367.3 kB / 1.124 GB, free: 19.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/1.182, allocations: 33.12 kB / 1.124 GB, free: 19.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.182, allocations: 370 kB / 1.124 GB, free: 19.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002622/1.185, allocations: 0.7599 MB / 1.125 GB, free: 19.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003376/1.188, allocations: 1.603 MB / 1.127 GB, free: 17.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/1.192, allocations: 0.9893 MB / 1.127 GB, free: 17.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/1.192, allocations: 3.688 kB / 1.128 GB, free: 17.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.01243/1.204, allocations: 3.152 MB / 1.131 GB, free: 16.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002246/1.206, allocations: 6.213 MB / 1.137 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.441e-05/1.207, allocations: 21.84 kB / 1.137 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00519/1.212, allocations: 0.7787 MB / 1.137 GB, free: 9.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/1.214, allocations: 329.3 kB / 1.138 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/1.218, allocations: 2.18 MB / 1.14 GB, free: 8.629 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005336/1.223, allocations: 249.7 kB / 1.14 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003554/1.224, allocations: 82.59 kB / 1.14 GB, free: 8.531 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.224, allocations: 2.781 kB / 1.14 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007477/1.231, allocations: 2.484 MB / 1.143 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.847e-05/1.231, allocations: 15.84 kB / 1.143 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/1.234, allocations: 0.5831 MB / 1.143 GB, free: 7.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/1.236, allocations: 320.6 kB / 1.144 GB, free: 7.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.25, allocations: 6.624 MB / 1.15 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/1.254, allocations: 244 kB / 1.15 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/1.255, allocations: 75.08 kB / 1.15 GB, free: 4.012 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 141 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002504/1.257, allocations: 0.8692 MB / 1.151 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009847/1.258, allocations: 304.4 kB / 1.151 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008134/1.266, allocations: 2.586 MB / 1.154 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/1.267, allocations: 12.8 kB / 1.154 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/1.267, allocations: 0 / 1.154 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006281/1.273, allocations: 2.252 MB / 1.156 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.287, allocations: 4.89 MB / 1.161 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/1.287, allocations: 5.875 kB / 1.161 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.288, allocations: 173.1 kB / 1.161 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/1.291, allocations: 0.5381 MB / 1.162 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/1.291, allocations: 40.48 kB / 1.162 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/1.294, allocations: 2.09 MB / 1.164 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.294, allocations: 4.125 kB / 1.164 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.305, allocations: 3.504 MB / 1.167 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002464/1.308, allocations: 0.5749 MB / 1.168 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007083/1.308, allocations: 29.89 kB / 1.168 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003537/1.312, allocations: 208.8 kB / 1.168 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/1.312, allocations: 68.33 kB / 1.168 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/1.312, allocations: 46.34 kB / 1.168 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005352/1.318, allocations: 2.142 MB / 1.17 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.51e-07/1.318, allocations: 0 / 1.17 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007662/1.325, allocations: 1.575 MB / 1.172 GB, free: 7.938 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (pump.vol.dynBal.U,hea.outCon.T,val.res1.filter.x[1],val.res1.filter.x[2],val.res3.filter.x[1],val.res3.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001937/1.327, allocations: 491.2 kB / 1.172 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.338, allocations: 3.574 MB / 1.176 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.338, allocations: 0 / 1.176 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002967/1.341, allocations: 0.8542 MB / 1.176 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0142/1.355, allocations: 1.595 MB / 1.178 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/1.371, allocations: 6.289 MB / 1.184 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003628/1.375, allocations: 2.169 MB / 1.186 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005202/1.38, allocations: 0.7039 MB / 1.187 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.381, allocations: 219.4 kB / 1.187 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of SimCode: time 1.042e-06/1.381, allocations: 2.734 kB / 1.187 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of Templates: time 0.1651/1.546, allocations: 60.46 MB / 1.246 GB, free: 12.77 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)