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.002537/0.002542, allocations: 353 kB / 16.58 MB, free: 5.566 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.434/1.434, allocations: 165.8 MB / 183.1 MB, free: 5.5 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.687/3.687, allocations: 410.7 MB / 0.6001 GB, free: 15.21 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.001791/0.00179, allocations: 191.4 kB / 0.6668 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004505, allocations: 12 kB / 0.7429 GB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4036, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/1.719, allocations: 380.6 MB / 1.18 GB, free: 151.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/1.719, allocations: 90.61 kB / 1.18 GB, free: 151.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.323/9.042, allocations: 1.442 GB / 2.622 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.464e-06/9.042, allocations: 0 / 2.622 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.001037/9.043, allocations: 156.8 kB / 2.622 GB, free: 58.65 MB / 0.6042 GB 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.026/9.069, allocations: 5.897 MB / 2.628 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/9.069, allocations: 14.22 kB / 2.628 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006652/9.076, allocations: 0.8038 MB / 2.629 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02494/9.101, allocations: 6.464 MB / 2.635 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/9.101, allocations: 266.5 kB / 2.635 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/9.103, allocations: 357.9 kB / 2.636 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/9.119, allocations: 5.409 MB / 2.641 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/9.119, allocations: 10.91 kB / 2.641 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008737/9.12, allocations: 146.6 kB / 2.641 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-05/9.12, allocations: 80.12 kB / 2.641 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/9.135, allocations: 5.065 MB / 2.646 GB, free: 54.04 MB / 0.6042 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.04736/9.182, allocations: 22.59 MB / 2.668 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006797/9.189, allocations: 2.63 MB / 2.671 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004091/9.193, allocations: 1.81 MB / 2.672 GB, free: 42.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0174/9.211, allocations: 6.973 MB / 2.679 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004704/9.215, allocations: 1.848 MB / 2.681 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01084/9.226, allocations: 2.035 MB / 2.683 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=156): time 1.387e-05/9.226, allocations: 0 / 2.683 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=156): time 0.03308/9.259, allocations: 6.947 MB / 2.69 GB, free: 32.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/9.26, allocations: 147.1 kB / 2.69 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/9.27, allocations: 4.806 MB / 2.695 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000739/9.271, allocations: 73.53 kB / 2.695 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00312/9.274, allocations: 2.436 MB / 2.697 GB, free: 25.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/9.275, allocations: 0.5542 MB / 2.698 GB, free: 24.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/9.275, allocations: 56 kB / 2.698 GB, free: 24.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001737/9.276, allocations: 415.3 kB / 2.698 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003909/9.28, allocations: 1.528 MB / 2.7 GB, free: 22.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/9.284, allocations: 2.844 MB / 2.702 GB, free: 19.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00507/9.29, allocations: 1.987 MB / 2.704 GB, free: 17.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-05/9.29, allocations: 8 kB / 2.704 GB, free: 17.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01705/9.307, allocations: 5.661 MB / 2.71 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006913/9.307, allocations: 1.087 MB / 2.711 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.189e-05/9.308, allocations: 35.98 kB / 2.711 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1389/9.446, allocations: 11.57 MB / 2.722 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00535/9.452, allocations: 0.6435 MB / 2.723 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/9.467, allocations: 4.734 MB / 2.728 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008018/9.475, allocations: 352.4 kB / 2.728 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008155/9.476, allocations: 163.9 kB / 2.728 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/9.476, allocations: 7.953 kB / 2.728 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01529/9.491, allocations: 5.025 MB / 2.733 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/9.491, allocations: 39.98 kB / 2.733 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6254/10.12, allocations: 11.37 MB / 2.744 GB, free: 81.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005109/10.12, allocations: 0.6369 MB / 2.745 GB, free: 81.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/10.14, allocations: 7.715 MB / 2.752 GB, free: 78.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007421/10.15, allocations: 339.4 kB / 2.753 GB, free: 78.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008776/10.15, allocations: 151.2 kB / 2.753 GB, free: 78.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 279 * 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.004524/10.15, allocations: 1.551 MB / 2.754 GB, free: 77.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/10.16, allocations: 461.2 kB / 2.755 GB, free: 77.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/10.17, allocations: 4.577 MB / 2.759 GB, free: 77.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/10.17, allocations: 17.69 kB / 2.759 GB, free: 77.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/10.17, allocations: 3.188 kB / 2.759 GB, free: 77.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03694/10.21, allocations: 7.331 MB / 2.766 GB, free: 76.33 MB / 0.6198 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.05375/10.26, allocations: 13.22 MB / 2.779 GB, free: 75.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/10.26, allocations: 0 / 2.779 GB, free: 75.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004107/10.26, allocations: 368.2 kB / 2.78 GB, free: 75.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1344/10.4, allocations: 11.63 MB / 2.791 GB, free: 75.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005936/10.4, allocations: 53.42 kB / 2.791 GB, free: 75.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/10.41, allocations: 4.132 MB / 2.795 GB, free: 73.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/10.41, allocations: 0 / 2.795 GB, free: 73.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05366/10.46, allocations: 9.667 MB / 2.804 GB, free: 73.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007298/10.47, allocations: 1.053 MB / 2.805 GB, free: 72.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0032/10.47, allocations: 29.09 kB / 2.806 GB, free: 72.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0101/10.48, allocations: 292.6 kB / 2.806 GB, free: 72.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000841/10.48, allocations: 102.1 kB / 2.806 GB, free: 72.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004848/10.49, allocations: 85.06 kB / 2.806 GB, free: 72.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.008645/10.49, allocations: 3.272 MB / 2.809 GB, free: 72.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.81e-07/10.49, allocations: 0 / 2.809 GB, free: 72.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01495/10.51, allocations: 2.788 MB / 2.812 GB, free: 72.37 MB / 0.6198 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 (128): * Single equations (assignments): 119 * 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.003504/10.51, allocations: 1.229 MB / 2.813 GB, free: 72.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0285/10.54, allocations: 7.373 MB / 2.82 GB, free: 71.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/10.54, allocations: 8.766 kB / 2.82 GB, free: 71.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/10.55, allocations: 2.473 MB / 2.823 GB, free: 71.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02489/10.58, allocations: 2.748 MB / 2.825 GB, free: 71.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02635/10.6, allocations: 11 MB / 2.836 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005073/10.61, allocations: 3.314 MB / 2.839 GB, free: 66.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01042/10.62, allocations: 1.666 MB / 2.841 GB, free: 66.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002382/10.62, allocations: 350 kB / 2.841 GB, free: 66.04 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/10.62, allocations: 1.156 kB / 2.841 GB, free: 66.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.273/10.89, allocations: 112.7 MB / 2.951 GB, free: 15.85 MB / 0.6355 GB