Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadModel(Buildings): time 3.982/3.982, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.731e-05, allocations: 0 / 0.5325 GB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.5036, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.516, allocations: 405.3 MB / 1.025 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.517, allocations: 92.84 kB / 1.025 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.098/8.615, allocations: 1.441 GB / 2.466 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.65e-06/8.615, allocations: 0 / 2.466 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0008805/8.616, allocations: 161.7 kB / 2.466 GB, free: 114.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 832 * Number of variables: 832 Notification: Performance of Generate backend data structure: time 0.01482/8.631, allocations: 4.563 MB / 2.47 GB, free: 113 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/8.631, allocations: 10.94 kB / 2.47 GB, free: 113 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005786/8.637, allocations: 0.8374 MB / 2.471 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02158/8.658, allocations: 6.797 MB / 2.478 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/8.659, allocations: 107 kB / 2.478 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/8.66, allocations: 204.2 kB / 2.478 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01456/8.675, allocations: 4.734 MB / 2.483 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0251/8.7, allocations: 4.812 MB / 2.487 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002253/8.7, allocations: 10.47 kB / 2.487 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00147/8.702, allocations: 14.17 kB / 2.487 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/8.702, allocations: 81.12 kB / 2.487 GB, free: 111.1 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.06679/8.769, allocations: 22.04 MB / 2.509 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005283/8.774, allocations: 2.641 MB / 2.512 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/8.777, allocations: 1.688 MB / 2.513 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01605/8.793, allocations: 6.893 MB / 2.52 GB, free: 99 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003308/8.796, allocations: 1.74 MB / 2.522 GB, free: 98.93 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008541/8.805, allocations: 1.961 MB / 2.524 GB, free: 98.83 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=156): time 1.497e-05/8.805, allocations: 0 / 2.524 GB, free: 98.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156): time 0.01532/8.82, allocations: 4.685 MB / 2.528 GB, free: 98.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/8.821, allocations: 151.8 kB / 2.528 GB, free: 98.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/8.833, allocations: 3.954 MB / 2.532 GB, free: 98.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005824/8.833, allocations: 29.45 kB / 2.532 GB, free: 97.99 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002656/8.836, allocations: 2.464 MB / 2.535 GB, free: 97.13 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008877/8.837, allocations: 0.5337 MB / 2.535 GB, free: 96.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/8.837, allocations: 1.188 kB / 2.535 GB, free: 96.79 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001711/8.837, allocations: 412.8 kB / 2.535 GB, free: 96.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/8.84, allocations: 1.45 MB / 2.537 GB, free: 96.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/8.843, allocations: 2.722 MB / 2.54 GB, free: 94.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008507/8.852, allocations: 2.513 MB / 2.542 GB, free: 94.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.963e-05/8.852, allocations: 7.562 kB / 2.542 GB, free: 94.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.04921/8.901, allocations: 8.905 MB / 2.551 GB, free: 94.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002931/8.904, allocations: 15.06 MB / 2.565 GB, free: 78.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/8.904, allocations: 34.41 kB / 2.565 GB, free: 78.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04604/8.95, allocations: 6.208 MB / 2.571 GB, free: 78.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/8.955, allocations: 0.6943 MB / 2.572 GB, free: 78.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/8.974, allocations: 5.533 MB / 2.578 GB, free: 77.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/8.984, allocations: 305.3 kB / 2.578 GB, free: 77.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/8.986, allocations: 161.4 kB / 2.578 GB, free: 77.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/8.986, allocations: 6.594 kB / 2.578 GB, free: 77.02 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06847/9.054, allocations: 8.203 MB / 2.586 GB, free: 76.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/9.054, allocations: 31.84 kB / 2.586 GB, free: 76.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04461/9.099, allocations: 6.151 MB / 2.592 GB, free: 76.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/9.103, allocations: 0.6939 MB / 2.593 GB, free: 76.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/9.121, allocations: 8.228 MB / 2.601 GB, free: 72.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005851/9.126, allocations: 290.6 kB / 2.601 GB, free: 72.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007394/9.127, allocations: 149.8 kB / 2.601 GB, free: 72.04 MB / 0.8542 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 () * 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.0009286/9.128, allocations: 205.8 kB / 2.601 GB, free: 71.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/9.13, allocations: 427.9 kB / 2.602 GB, free: 71.64 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.035/9.165, allocations: 7.195 MB / 2.609 GB, free: 69.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/9.165, allocations: 17.94 kB / 2.609 GB, free: 69.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/9.165, allocations: 4 kB / 2.609 GB, free: 69.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02417/9.189, allocations: 7.129 MB / 2.616 GB, free: 63.65 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0412/9.23, allocations: 13.21 MB / 2.629 GB, free: 50.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/9.23, allocations: 0 / 2.629 GB, free: 50.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003177/9.233, allocations: 419.5 kB / 2.629 GB, free: 49.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005915/9.239, allocations: 2.438 MB / 2.631 GB, free: 47.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004266/9.24, allocations: 31.95 kB / 2.632 GB, free: 47.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/9.251, allocations: 4.798 MB / 2.636 GB, free: 42.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.194e-06/9.251, allocations: 0 / 2.636 GB, free: 42.66 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03218/9.283, allocations: 9.949 MB / 2.646 GB, free: 32.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003803/9.287, allocations: 1.065 MB / 2.647 GB, free: 31.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/9.289, allocations: 3.375 kB / 2.647 GB, free: 31.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005339/9.294, allocations: 263.2 kB / 2.647 GB, free: 31.35 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005555/9.295, allocations: 109.2 kB / 2.647 GB, free: 31.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003955/9.295, allocations: 83.92 kB / 2.647 GB, free: 31.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006476/9.302, allocations: 2.978 MB / 2.65 GB, free: 28.19 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.069e-06/9.302, allocations: 0 / 2.65 GB, free: 28.19 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01285/9.315, allocations: 2.736 MB / 2.653 GB, free: 25.45 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * 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.002737/9.317, allocations: 1.175 MB / 2.654 GB, free: 24.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0183/9.336, allocations: 7.103 MB / 2.661 GB, free: 17.24 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/9.336, allocations: 0.7812 kB / 2.661 GB, free: 17.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006497/9.342, allocations: 2.375 MB / 2.663 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01349/9.356, allocations: 2.409 MB / 2.666 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/9.374, allocations: 7.535 MB / 2.673 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004542/9.378, allocations: 3.31 MB / 2.676 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.5548/9.933, allocations: 2.795 MB / 2.679 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/9.935, allocations: 253.4 kB / 2.679 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.343e-06/9.935, allocations: 0 / 2.679 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.2193/10.15, allocations: 105.8 MB / 2.783 GB, free: 111.9 MB / 0.8542 GB