Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.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.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002256/0.002261, allocations: 185.2 kB / 15.76 MB, free: 5.996 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.696/0.696, allocations: 82.92 MB / 99.42 MB, free: 3.32 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.068/2.068, allocations: 205.4 MB / 325.4 MB, free: 3.344 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.001057/0.001057, allocations: 98.84 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004479, allocations: 12 kB / 471.5 MB, free: 66.58 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08705/0.08752, allocations: 67.44 MB / 0.5263 GB, free: 15.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.4457/0.5333, allocations: 67.37 MB / 0.5921 GB, free: 16.56 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03332/0.5666, allocations: 19.6 MB / 0.6113 GB, free: 16.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.5704, allocations: 86.75 kB / 0.6113 GB, free: 16.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004776/0.5752, allocations: 1.281 MB / 0.6126 GB, free: 16.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01136/0.5866, allocations: 3.132 MB / 0.6157 GB, free: 16.3 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01394/0.6006, allocations: 3.897 MB / 0.6195 GB, free: 16.15 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01392/0.6145, allocations: 8.872 MB / 0.6281 GB, free: 14.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008355/0.6229, allocations: 5.355 MB / 0.6334 GB, free: 12.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008725/0.6317, allocations: 4.083 MB / 0.6373 GB, free: 10.26 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006728/0.6384, allocations: 3.405 MB / 0.6407 GB, free: 8.465 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.6401, allocations: 262.3 kB / 0.6409 GB, free: 8.465 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006377/0.6465, allocations: 1.228 MB / 0.6421 GB, free: 8.078 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002381/0.6489, allocations: 1.209 MB / 0.6433 GB, free: 7.293 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0028/0.6518, allocations: 1.138 MB / 0.6444 GB, free: 6.703 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009397/0.6612, allocations: 6.995 MB / 0.6512 GB, free: 1.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.87e-06/0.6613, allocations: 4 kB / 0.6512 GB, free: 1.336 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.569e-06/0.6613, allocations: 0 / 0.6512 GB, free: 1.336 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002002/0.6615, allocations: 0 / 0.6512 GB, free: 1.336 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01437/0.6759, allocations: 5.52 MB / 0.6566 GB, free: 11.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6759, allocations: 12.03 kB / 0.6566 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004869/0.6808, allocations: 0.8576 MB / 0.6575 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.694, allocations: 4.777 MB / 0.6622 GB, free: 6.078 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/0.6944, allocations: 274.1 kB / 0.6624 GB, free: 5.812 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009042/0.6953, allocations: 348 kB / 0.6627 GB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.7101, allocations: 5.829 MB / 0.6684 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.366e-05/0.7102, allocations: 11.84 kB / 0.6684 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006701/0.7109, allocations: 151.9 kB / 0.6686 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.531e-05/0.711, allocations: 84 kB / 0.6687 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/0.7264, allocations: 5.609 MB / 0.6742 GB, free: 9.52 MB / 458.7 MB 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.05103/0.7775, allocations: 24.45 MB / 0.698 GB, free: 104 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008224/0.7857, allocations: 3.007 MB / 0.701 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01765/0.8034, allocations: 7.422 MB / 0.7082 GB, free: 5.352 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004553/0.808, allocations: 1.98 MB / 0.7101 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005466/0.8135, allocations: 1.281 MB / 0.7114 GB, free: 2.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 9.787e-06/0.8136, allocations: 0 / 0.7114 GB, free: 2.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.02854/0.8421, allocations: 7.717 MB / 0.7189 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002133/0.8424, allocations: 312 kB / 0.7192 GB, free: 9.902 MB / 0.4948 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.011/0.8534, allocations: 5.281 MB / 0.7244 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000563/0.854, allocations: 69.7 kB / 0.7245 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/0.8572, allocations: 2.507 MB / 0.7269 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/0.8583, allocations: 0.5894 MB / 0.7275 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.8586, allocations: 55.92 kB / 0.7275 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003172/0.859, allocations: 427.8 kB / 0.7279 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004135/0.8631, allocations: 1.731 MB / 0.7296 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005414/0.8686, allocations: 2.997 MB / 0.7326 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005532/0.8741, allocations: 2.19 MB / 0.7347 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.093e-05/0.8742, allocations: 12 kB / 0.7347 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01684/0.891, allocations: 6.206 MB / 0.7408 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.008639/0.8997, allocations: 15.54 MB / 0.7559 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.8999, allocations: 39.98 kB / 0.756 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1573/1.057, allocations: 11.87 MB / 0.7676 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/1.062, allocations: 0.7527 MB / 0.7683 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.073, allocations: 5.041 MB / 0.7732 GB, free: 400 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005942/1.079, allocations: 359.7 kB / 0.7736 GB, free: 36 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000748/1.08, allocations: 168 kB / 0.7737 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.08, allocations: 15.94 kB / 0.7737 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01344/1.094, allocations: 5.552 MB / 0.7792 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.745e-05/1.094, allocations: 39.98 kB / 0.7792 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08117/1.175, allocations: 11.68 MB / 0.7906 GB, free: 14.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004201/1.179, allocations: 0.7333 MB / 0.7913 GB, free: 13.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/1.195, allocations: 8.124 MB / 0.7993 GB, free: 5.387 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/1.201, allocations: 341.9 kB / 0.7996 GB, free: 5.055 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000472/1.201, allocations: 163.9 kB / 0.7997 GB, free: 4.895 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 292 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.003735/1.205, allocations: 1.581 MB / 0.8013 GB, free: 3.301 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.206, allocations: 474.1 kB / 0.8017 GB, free: 2.832 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4098/1.616, allocations: 4.966 MB / 0.8066 GB, free: 202.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.88e-05/1.616, allocations: 16.67 kB / 0.8066 GB, free: 202.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.408e-06/1.616, allocations: 0.6562 kB / 0.8066 GB, free: 202.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02559/1.642, allocations: 7.144 MB / 0.8136 GB, free: 199.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03881/1.681, allocations: 13.48 MB / 0.8268 GB, free: 194.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.681, allocations: 1.625 kB / 0.8268 GB, free: 194.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003533/1.684, allocations: 441.1 kB / 0.8272 GB, free: 194.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08748/1.772, allocations: 11.91 MB / 0.8388 GB, free: 190.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005136/1.772, allocations: 54.97 kB / 0.8389 GB, free: 190.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007822/1.78, allocations: 4.371 MB / 0.8431 GB, free: 187.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.085e-06/1.78, allocations: 0 / 0.8431 GB, free: 187.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03019/1.81, allocations: 9.925 MB / 0.8528 GB, free: 179.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003485/1.814, allocations: 1.144 MB / 0.8539 GB, free: 178.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/1.815, allocations: 43.92 kB / 0.854 GB, free: 178.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004531/1.82, allocations: 288.6 kB / 0.8543 GB, free: 178 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004818/1.82, allocations: 109.8 kB / 0.8544 GB, free: 177.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003646/1.82, allocations: 95.88 kB / 0.8545 GB, free: 177.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006728/1.827, allocations: 3.622 MB / 0.858 GB, free: 174.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.01e-06/1.827, allocations: 0 / 0.858 GB, free: 174.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009552/1.837, allocations: 2.786 MB / 0.8607 GB, free: 171.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (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],val.filter.x[1],val.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 (135): * Single equations (assignments): 126 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,1 6,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00161/1.838, allocations: 0.5492 MB / 0.8612 GB, free: 171.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01926/1.858, allocations: 7.89 MB / 0.869 GB, free: 163.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.151e-06/1.858, allocations: 0.9375 kB / 0.869 GB, free: 163.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006819/1.865, allocations: 2.563 MB / 0.8715 GB, free: 160.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0136/1.878, allocations: 2.786 MB / 0.8742 GB, free: 157.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/1.897, allocations: 11.81 MB / 0.8857 GB, free: 146 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003326/1.901, allocations: 3.393 MB / 0.889 GB, free: 142.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007923/1.909, allocations: 1.772 MB / 0.8908 GB, free: 140.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/1.91, allocations: 371.2 kB / 0.8911 GB, free: 140.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.651e-06/1.91, allocations: 0 / 0.8911 GB, free: 140.5 MB / 0.573 GB Notification: Performance of Templates: time 0.2029/2.113, allocations: 111 MB / 0.9995 GB, free: 29.93 MB / 0.573 GB