Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.Example1v2.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002222/0.002226, allocations: 190.1 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7252/0.7252, allocations: 82.92 MB / 99.41 MB, free: 3.129 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 325.4 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.001089, allocations: 90.16 kB / 393.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004412, allocations: 12 kB / 471.5 MB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09056, allocations: 67.44 MB / 0.5263 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v2): time 0.4556/0.5462, allocations: 67.44 MB / 0.5922 GB, free: 16.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0334/0.5796, allocations: 19.62 MB / 0.6114 GB, free: 16.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004039/0.5837, allocations: 90.03 kB / 0.6114 GB, free: 16.58 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004727/0.5884, allocations: 1.277 MB / 0.6127 GB, free: 16.58 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.6003, allocations: 3.139 MB / 0.6158 GB, free: 16.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01451/0.6149, allocations: 3.902 MB / 0.6196 GB, free: 16.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02043/0.6353, allocations: 15.05 MB / 0.6343 GB, free: 12.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01948/0.6548, allocations: 13.55 MB / 0.6475 GB, free: 4.277 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01593/0.6708, allocations: 8.148 MB / 0.6555 GB, free: 13 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01955/0.6904, allocations: 8.677 MB / 0.6639 GB, free: 4.301 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003617/0.694, allocations: 0.8164 MB / 0.6647 GB, free: 3.484 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009538/0.7036, allocations: 1.792 MB / 0.6665 GB, free: 1.703 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005856/0.7095, allocations: 2.921 MB / 0.6693 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00524/0.7147, allocations: 1.86 MB / 0.6711 GB, free: 12.9 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02193/0.7367, allocations: 14.07 MB / 0.6849 GB, free: 14.81 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7367, allocations: 4 kB / 0.6849 GB, free: 14.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.594e-06/0.7367, allocations: 0 / 0.6849 GB, free: 14.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003156/0.7371, allocations: 3.938 kB / 0.6849 GB, free: 14.8 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1434 * Number of variables: 1434 Notification: Performance of Generate backend data structure: time 0.03844/0.7755, allocations: 13.21 MB / 0.6978 GB, free: 1.516 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.7756, allocations: 8.031 kB / 0.6978 GB, free: 1.508 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007899/0.7835, allocations: 1.292 MB / 0.6991 GB, free: 208 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02559/0.8091, allocations: 9.049 MB / 0.7079 GB, free: 7.094 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006249/0.8098, allocations: 448.2 kB / 0.7083 GB, free: 6.656 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003144/0.8129, allocations: 0.5974 MB / 0.7089 GB, free: 6.059 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03757/0.8505, allocations: 14.75 MB / 0.7233 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/0.8508, allocations: 19.78 kB / 0.7233 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002102/0.8529, allocations: 244 kB / 0.7236 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.853, allocations: 140 kB / 0.7237 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04484/0.8979, allocations: 19.94 MB / 0.7432 GB, free: 2.676 MB / 0.5105 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.4723/1.37, allocations: 67.22 MB / 0.8088 GB, free: 193.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/1.389, allocations: 9.389 MB / 0.818 GB, free: 190.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1036/1.493, allocations: 31.37 MB / 0.8486 GB, free: 174.1 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01398/1.507, allocations: 7.763 MB / 0.8562 GB, free: 169.3 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0357/1.543, allocations: 11.82 MB / 0.8678 GB, free: 162.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=308): time 2.32e-05/1.543, allocations: 0 / 0.8678 GB, free: 162.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=308): time 0.06121/1.604, allocations: 24.53 MB / 0.8917 GB, free: 138.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/1.604, allocations: 246.2 kB / 0.8919 GB, free: 138 MB / 0.573 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:70: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/IBPSA 3.0.0-master/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/IBPSA 3.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:70: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/IBPSA 3.0.0-master/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.01539/1.62, allocations: 8.806 MB / 0.9005 GB, free: 129.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001859/1.622, allocations: 101.7 kB / 0.9006 GB, free: 129.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004338/1.626, allocations: 4.117 MB / 0.9047 GB, free: 125.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002737/1.629, allocations: 1.106 MB / 0.9057 GB, free: 124.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/1.63, allocations: 96 kB / 0.9058 GB, free: 124 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003179/1.63, allocations: 0.4962 MB / 0.9063 GB, free: 123.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01209/1.642, allocations: 6.61 MB / 0.9128 GB, free: 116.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01343/1.656, allocations: 8.503 MB / 0.9211 GB, free: 107.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/1.67, allocations: 7.529 MB / 0.9284 GB, free: 99.97 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-05/1.67, allocations: 12 kB / 0.9284 GB, free: 99.96 MB / 0.573 GB Notification: Performance of matching and sorting (n=599) (initialization): time 0.04102/1.711, allocations: 17.75 MB / 0.9458 GB, free: 82.16 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.004694/1.716, allocations: 25.62 MB / 0.9708 GB, free: 54.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/1.716, allocations: 48 kB / 0.9708 GB, free: 54.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07658/1.792, allocations: 11.5 MB / 0.9821 GB, free: 43.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009852/1.802, allocations: 1.592 MB / 0.9836 GB, free: 41.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/1.813, allocations: 6.834 MB / 0.9903 GB, free: 34.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01307/1.826, allocations: 0.6318 MB / 0.9909 GB, free: 33.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003213/1.83, allocations: 0.5538 MB / 0.9914 GB, free: 33.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.83, allocations: 4 kB / 0.9915 GB, free: 33.38 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07387/1.904, allocations: 16.67 MB / 1.008 GB, free: 16.67 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002887/1.904, allocations: 52.94 kB / 1.008 GB, free: 16.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08102/1.985, allocations: 11.04 MB / 1.019 GB, free: 5.609 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009725/1.995, allocations: 1.577 MB / 1.02 GB, free: 4.031 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4297/2.424, allocations: 11.17 MB / 1.031 GB, free: 180.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/2.437, allocations: 0.5907 MB / 1.032 GB, free: 180.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002946/2.44, allocations: 0.538 MB / 1.032 GB, free: 180.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (543): * Single equations (assignments): 533 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.008608/2.449, allocations: 2.675 MB / 1.035 GB, free: 179.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003638/2.452, allocations: 0.7708 MB / 1.035 GB, free: 179.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07208/2.524, allocations: 14.44 MB / 1.05 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/2.525, allocations: 34.38 kB / 1.05 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.569e-05/2.525, allocations: 1.375 kB / 1.05 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03293/2.558, allocations: 11.01 MB / 1.06 GB, free: 168.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.052/2.61, allocations: 25.22 MB / 1.085 GB, free: 155.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/2.61, allocations: 3.25 kB / 1.085 GB, free: 155.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007513/2.617, allocations: 0.713 MB / 1.086 GB, free: 155 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07895/2.696, allocations: 10.33 MB / 1.096 GB, free: 145.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00124/2.697, allocations: 111.9 kB / 1.096 GB, free: 145.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005881/2.703, allocations: 4.878 MB / 1.101 GB, free: 140.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.509e-06/2.703, allocations: 4.797 kB / 1.101 GB, free: 140.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06242/2.766, allocations: 19.73 MB / 1.12 GB, free: 120.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01431/2.78, allocations: 2.137 MB / 1.122 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00494/2.785, allocations: 75.81 kB / 1.122 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01947/2.805, allocations: 480.8 kB / 1.123 GB, free: 117.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001528/2.806, allocations: 230.4 kB / 1.123 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009157/2.807, allocations: 159.9 kB / 1.123 GB, free: 117.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.011/2.818, allocations: 6.104 MB / 1.129 GB, free: 111.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.247e-06/2.818, allocations: 0 / 1.129 GB, free: 111.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02109/2.839, allocations: 5.104 MB / 1.134 GB, free: 106.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 26 (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],vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * 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 (312): * Single equations (assignments): 302 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,1 6,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002533/2.842, allocations: 0.6276 MB / 1.134 GB, free: 106 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04675/2.889, allocations: 24.5 MB / 1.158 GB, free: 81.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/2.889, allocations: 9.562 kB / 1.158 GB, free: 81.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01182/2.901, allocations: 6.431 MB / 1.165 GB, free: 74.93 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0255/2.926, allocations: 5.017 MB / 1.17 GB, free: 70 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0403/2.967, allocations: 23.58 MB / 1.193 GB, free: 46.36 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007571/2.974, allocations: 5.435 MB / 1.198 GB, free: 40.89 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0249/2.999, allocations: 5.164 MB / 1.203 GB, free: 35.72 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006842/3.006, allocations: 0.9476 MB / 1.204 GB, free: 34.77 MB / 0.573 GB Notification: Performance of SimCode: time 1.601e-06/3.006, allocations: 0 / 1.204 GB, free: 34.77 MB / 0.573 GB Notification: Performance of Templates: time 0.7315/3.738, allocations: 225.7 MB / 1.424 GB, free: 43.25 MB / 0.5886 GB