Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.336/2.336, allocations: 251.1 MB / 266.1 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001573, allocations: 166 kB / 325.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.558/2.558, allocations: 205.4 MB / 0.5766 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 96.17 kB / 0.6811 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004495, allocations: 12.84 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2241, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.0836/0.3078, allocations: 60.63 MB / 0.9581 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03845/0.3463, allocations: 17.69 MB / 0.9754 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003283/0.3496, allocations: 79.31 kB / 0.9754 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005519/0.3552, allocations: 1.128 MB / 0.9765 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.3671, allocations: 2.688 MB / 0.9792 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01544/0.3825, allocations: 3.58 MB / 0.9827 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.3934, allocations: 4.838 MB / 0.9874 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01181/0.4053, allocations: 5.452 MB / 0.9927 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007572/0.4129, allocations: 2.499 MB / 0.9952 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004829/0.4178, allocations: 1.758 MB / 0.9969 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.4188, allocations: 132 kB / 0.997 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005276/0.4241, allocations: 1.19 MB / 0.9982 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.4259, allocations: 0.6186 MB / 0.9988 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.4276, allocations: 0.6756 MB / 0.9994 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007716/0.4354, allocations: 3.717 MB / 1.003 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4354, allocations: 4 kB / 1.003 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.815e-06/0.4355, allocations: 0 / 1.003 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001584/0.4356, allocations: 0 / 1.003 GB, free: 6.5 MB / 0.6511 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.01328/0.4489, allocations: 4.008 MB / 1.007 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.449, allocations: 12.02 kB / 1.007 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/0.4532, allocations: 0.5811 MB / 1.008 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008016/0.4613, allocations: 2.551 MB / 1.01 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.4615, allocations: 152.2 kB / 1.01 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006106/0.4621, allocations: 192 kB / 1.01 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007454/0.4696, allocations: 2.511 MB / 1.013 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.041e-05/0.4697, allocations: 11.88 kB / 1.013 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003194/0.4701, allocations: 68 kB / 1.013 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.4701, allocations: 48 kB / 1.013 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00837/0.4785, allocations: 2.076 MB / 1.015 GB, free: 9.992 MB / 0.6667 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.02895/0.5075, allocations: 12.4 MB / 1.027 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006014/0.5136, allocations: 1.661 MB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0127/0.5263, allocations: 4.262 MB / 1.033 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003105/0.5295, allocations: 0.9223 MB / 1.034 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002957/0.5325, allocations: 466.4 kB / 1.034 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 6.572e-06/0.5325, allocations: 0 / 1.034 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.03078/0.5633, allocations: 5.281 MB / 1.039 GB, free: 40 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/0.5636, allocations: 230.6 kB / 1.04 GB, free: 15.77 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.00813/0.5717, allocations: 3.135 MB / 1.043 GB, free: 12.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004168/0.5722, allocations: 57.7 kB / 1.043 GB, free: 12.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002324/0.5745, allocations: 1.489 MB / 1.044 GB, free: 11.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007351/0.5753, allocations: 370.7 kB / 1.045 GB, free: 10.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.5755, allocations: 35.98 kB / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.5757, allocations: 369.9 kB / 1.045 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/0.5787, allocations: 0.7573 MB / 1.046 GB, free: 9.547 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/0.5827, allocations: 1.608 MB / 1.047 GB, free: 7.578 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/0.5861, allocations: 0.9843 MB / 1.048 GB, free: 6.586 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.5862, allocations: 4 kB / 1.048 GB, free: 6.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.01263/0.5988, allocations: 3.139 MB / 1.051 GB, free: 3.418 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.5639/1.163, allocations: 6.213 MB / 1.057 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-05/1.163, allocations: 20.89 kB / 1.057 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005201/1.168, allocations: 0.7826 MB / 1.058 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/1.171, allocations: 329.1 kB / 1.058 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/1.174, allocations: 2.174 MB / 1.061 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004648/1.179, allocations: 246.5 kB / 1.061 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/1.179, allocations: 89.06 kB / 1.061 GB, free: 141.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.179, allocations: 4.281 kB / 1.061 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007496/1.186, allocations: 2.476 MB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.613e-05/1.186, allocations: 17.02 kB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/1.189, allocations: 0.5772 MB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/1.191, allocations: 332.9 kB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/1.205, allocations: 6.611 MB / 1.071 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/1.21, allocations: 244 kB / 1.071 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000351/1.21, allocations: 73.59 kB / 1.071 GB, free: 138.1 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.002478/1.213, allocations: 0.8643 MB / 1.072 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009572/1.214, allocations: 310.4 kB / 1.072 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008932/1.222, allocations: 2.592 MB / 1.075 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/1.223, allocations: 12.2 kB / 1.075 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.223, allocations: 0 / 1.075 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006989/1.23, allocations: 2.245 MB / 1.077 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/1.243, allocations: 4.899 MB / 1.082 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.243, allocations: 1.344 kB / 1.082 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/1.245, allocations: 176.1 kB / 1.082 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/1.247, allocations: 0.5383 MB / 1.082 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/1.247, allocations: 31.55 kB / 1.082 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/1.25, allocations: 2.089 MB / 1.084 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.25, allocations: 0 / 1.084 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/1.26, allocations: 3.519 MB / 1.088 GB, free: 131.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/1.262, allocations: 0.581 MB / 1.088 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007182/1.263, allocations: 23.16 kB / 1.088 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003691/1.267, allocations: 207.6 kB / 1.089 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/1.267, allocations: 74.55 kB / 1.089 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/1.267, allocations: 37.97 kB / 1.089 GB, free: 131.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004639/1.272, allocations: 2.138 MB / 1.091 GB, free: 130.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.563e-06/1.272, allocations: 2.719 kB / 1.091 GB, free: 130.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00621/1.278, allocations: 1.572 MB / 1.092 GB, free: 130.1 MB / 0.698 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.001522/1.28, allocations: 0.4966 MB / 1.093 GB, free: 129.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009364/1.289, allocations: 3.565 MB / 1.096 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.289, allocations: 4 kB / 1.096 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002662/1.292, allocations: 0.8557 MB / 1.097 GB, free: 126.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01329/1.305, allocations: 1.585 MB / 1.099 GB, free: 125.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/1.318, allocations: 6.279 MB / 1.105 GB, free: 118.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/1.32, allocations: 2.167 MB / 1.107 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004346/1.324, allocations: 0.7159 MB / 1.108 GB, free: 115.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000953/1.325, allocations: 211.4 kB / 1.108 GB, free: 115.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.325, allocations: 0 / 1.108 GB, free: 115.7 MB / 0.698 GB Notification: Performance of Templates: time 0.1391/1.464, allocations: 60.46 MB / 1.167 GB, free: 55.73 MB / 0.698 GB