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.003967/0.003966, allocations: 353.3 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.421/1.421, allocations: 165.8 MB / 182.5 MB, free: 5.523 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.852/3.852, allocations: 410.7 MB / 0.5995 GB, free: 15.15 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001766/0.001765, allocations: 202.2 kB / 0.6662 GB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004657, allocations: 12 kB / 0.7423 GB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4494, allocations: 67.44 MB / 0.8081 GB, free: 28.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.1128/0.5622, allocations: 74.34 MB / 0.8807 GB, free: 2.297 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05621/0.6185, allocations: 20.71 MB / 0.901 GB, free: 13.55 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/0.6221, allocations: 91.31 kB / 0.901 GB, free: 13.46 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004503/0.6266, allocations: 1.134 MB / 0.9022 GB, free: 12.32 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.6387, allocations: 3.3 MB / 0.9054 GB, free: 9.004 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01411/0.6528, allocations: 3.941 MB / 0.9092 GB, free: 5.109 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.02348/0.6763, allocations: 17.41 MB / 0.9262 GB, free: 3.648 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3499/1.026, allocations: 5.175 MB / 0.9313 GB, free: 17.78 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009626/1.036, allocations: 4.468 MB / 0.9356 GB, free: 17.77 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009383/1.045, allocations: 4.575 MB / 0.9401 GB, free: 17.76 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001557/1.047, allocations: 265.3 kB / 0.9404 GB, free: 17.76 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005934/1.053, allocations: 1.331 MB / 0.9417 GB, free: 17.76 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/1.055, allocations: 1.221 MB / 0.9429 GB, free: 17.76 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0027/1.058, allocations: 1.11 MB / 0.9439 GB, free: 17.73 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009255/1.067, allocations: 6.883 MB / 0.9507 GB, free: 17.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.244e-06/1.067, allocations: 0 / 0.9507 GB, free: 17.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.367e-06/1.068, allocations: 0 / 0.9507 GB, free: 17.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001797/1.068, allocations: 0 / 0.9507 GB, free: 17.25 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: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01253/1.08, allocations: 5.423 MB / 0.956 GB, free: 14.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.08, allocations: 7.656 kB / 0.956 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/1.085, allocations: 0.8412 MB / 0.9568 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/1.098, allocations: 5.027 MB / 0.9617 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/1.098, allocations: 263.5 kB / 0.9619 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/1.099, allocations: 340.5 kB / 0.9623 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/1.112, allocations: 5.733 MB / 0.9679 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.948e-05/1.112, allocations: 10.94 kB / 0.9679 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006166/1.112, allocations: 146.8 kB / 0.968 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/1.112, allocations: 85.17 kB / 0.9681 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/1.125, allocations: 5.554 MB / 0.9735 GB, free: 11.76 MB / 474.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.04134/1.167, allocations: 24 MB / 0.997 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006806/1.174, allocations: 2.801 MB / 0.9997 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004275/1.178, allocations: 1.922 MB / 1.002 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0179/1.196, allocations: 7.144 MB / 1.009 GB, free: 4.406 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004402/1.2, allocations: 1.942 MB / 1.01 GB, free: 3.004 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005555/1.206, allocations: 1.247 MB / 1.012 GB, free: 1.859 MB / 490.7 MB Notification: Performance of pre-optimization done (n=155): time 8.42e-06/1.206, allocations: 0 / 1.012 GB, free: 1.859 MB / 490.7 MB Notification: Performance of matching and sorting (n=155): time 0.02818/1.234, allocations: 7.623 MB / 1.019 GB, free: 11.97 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.234, allocations: 157.4 kB / 1.019 GB, free: 11.79 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009367/1.244, allocations: 4.846 MB / 1.024 GB, free: 8.156 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005755/1.244, allocations: 72.25 kB / 1.024 GB, free: 8.105 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002857/1.247, allocations: 2.439 MB / 1.026 GB, free: 6.754 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.248, allocations: 0.551 MB / 1.027 GB, free: 6.285 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/1.248, allocations: 58.19 kB / 1.027 GB, free: 6.27 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002919/1.249, allocations: 413.9 kB / 1.027 GB, free: 5.902 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003784/1.253, allocations: 1.66 MB / 1.029 GB, free: 4.789 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005019/1.258, allocations: 2.891 MB / 1.032 GB, free: 1.996 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004611/1.262, allocations: 2.108 MB / 1.034 GB, free: 0.6367 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.831e-05/1.262, allocations: 8 kB / 1.034 GB, free: 0.6289 MB / 0.4949 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01537/1.278, allocations: 6.014 MB / 1.04 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001066/1.279, allocations: 1.103 MB / 1.041 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.757e-05/1.279, allocations: 32 kB / 1.041 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08169/1.361, allocations: 11.88 MB / 1.053 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003972/1.365, allocations: 0.6716 MB / 1.053 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/1.376, allocations: 5.04 MB / 1.058 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005747/1.381, allocations: 343.7 kB / 1.058 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006197/1.382, allocations: 163.9 kB / 1.059 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.382, allocations: 4 kB / 1.059 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01277/1.395, allocations: 5.374 MB / 1.064 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.699e-05/1.395, allocations: 32 kB / 1.064 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08093/1.476, allocations: 11.68 MB / 1.075 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003923/1.48, allocations: 0.6491 MB / 1.076 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/1.497, allocations: 8.079 MB / 1.084 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005644/1.502, allocations: 327.8 kB / 1.084 GB, free: 14 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008066/1.503, allocations: 155.9 kB / 1.084 GB, free: 13.85 MB / 0.5574 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 (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.004238/1.508, allocations: 1.548 MB / 1.086 GB, free: 12.34 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.509, allocations: 462.2 kB / 1.086 GB, free: 11.88 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/1.522, allocations: 4.865 MB / 1.091 GB, free: 7.027 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.326e-05/1.522, allocations: 27.89 kB / 1.091 GB, free: 7 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.26e-06/1.522, allocations: 0 / 1.091 GB, free: 7 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02523/1.548, allocations: 6.993 MB / 1.098 GB, free: 15.79 MB / 0.573 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 postOpt removeSimpleEquations (simulation): time 0.06152/1.609, allocations: 13.22 MB / 1.111 GB, free: 2.543 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/1.609, allocations: 3.953 kB / 1.111 GB, free: 2.539 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005893/1.615, allocations: 378.2 kB / 1.111 GB, free: 2.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08609/1.701, allocations: 11.89 MB / 1.123 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005141/1.702, allocations: 51.95 kB / 1.123 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009324/1.711, allocations: 4.369 MB / 1.127 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.686e-06/1.711, allocations: 0 / 1.127 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05895/1.77, allocations: 9.745 MB / 1.137 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006144/1.776, allocations: 1.073 MB / 1.138 GB, free: 7.012 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002106/1.779, allocations: 28 kB / 1.138 GB, free: 6.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009114/1.788, allocations: 279.2 kB / 1.138 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009508/1.789, allocations: 105.1 kB / 1.138 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007744/1.79, allocations: 78.75 kB / 1.138 GB, free: 6.531 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01103/1.801, allocations: 3.315 MB / 1.141 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.78e-07/1.801, allocations: 4 kB / 1.141 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01099/1.812, allocations: 2.706 MB / 1.144 GB, free: 0.5195 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,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 (127): * Single equations (assignments): 118 * 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,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001777/1.813, allocations: 0.5237 MB / 1.144 GB, free: 40 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02448/1.838, allocations: 7.576 MB / 1.152 GB, free: 8.609 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.838, allocations: 7.406 kB / 1.152 GB, free: 8.605 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.008202/1.846, allocations: 2.523 MB / 1.154 GB, free: 6.109 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01729/1.864, allocations: 2.782 MB / 1.157 GB, free: 3.363 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4071/2.271, allocations: 11.44 MB / 1.168 GB, free: 251.1 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005386/2.276, allocations: 3.31 MB / 1.171 GB, free: 250.4 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.00847/2.285, allocations: 1.698 MB / 1.173 GB, free: 250.3 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/2.286, allocations: 353.7 kB / 1.173 GB, free: 250.3 MB / 0.6199 GB Notification: Performance of SimCode: time 1.987e-06/2.286, allocations: 2.25 kB / 1.173 GB, free: 250.3 MB / 0.6199 GB Notification: Performance of Templates: time 0.1995/2.486, allocations: 107.2 MB / 1.278 GB, free: 157.5 MB / 0.6199 GB