Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.167/2.167, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 175 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.387/2.387, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 95.8 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004579, allocations: 10.72 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2139, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.395, allocations: 371.1 MB / 1.261 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/1.395, allocations: 87.2 kB / 1.261 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.44/2.834, allocations: 245.4 MB / 1.501 GB, free: 256.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.336e-06/2.834, allocations: 4 kB / 1.501 GB, free: 256.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.682e-05/2.835, allocations: 18.03 kB / 1.501 GB, free: 256.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002609/2.837, allocations: 0.9366 MB / 1.502 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/2.837, allocations: 8.031 kB / 1.502 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/2.837, allocations: 67.2 kB / 1.502 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/2.839, allocations: 475.5 kB / 1.502 GB, free: 255 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/2.839, allocations: 24.66 kB / 1.502 GB, free: 255 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/2.839, allocations: 40 kB / 1.502 GB, free: 254.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/2.84, allocations: 306 kB / 1.503 GB, free: 254.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/2.84, allocations: 0 / 1.503 GB, free: 254.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/2.84, allocations: 12 kB / 1.503 GB, free: 254.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/2.84, allocations: 4 kB / 1.503 GB, free: 254.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/2.841, allocations: 278.3 kB / 1.503 GB, free: 254.3 MB / 0.8855 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.003628/2.845, allocations: 1.34 MB / 1.504 GB, free: 252.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/2.846, allocations: 274.4 kB / 1.505 GB, free: 252.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004833/2.846, allocations: 0.4982 MB / 1.505 GB, free: 252 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/2.846, allocations: 34.55 kB / 1.505 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 2.956e-06/2.846, allocations: 0 / 1.505 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.003165/2.85, allocations: 0.5829 MB / 1.506 GB, free: 251.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/2.85, allocations: 51.41 kB / 1.506 GB, free: 251.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007539/2.85, allocations: 405.3 kB / 1.506 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/2.851, allocations: 37.7 kB / 1.506 GB, free: 250.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/2.851, allocations: 244.7 kB / 1.506 GB, free: 250.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/2.851, allocations: 81.81 kB / 1.506 GB, free: 250.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/2.851, allocations: 4.219 kB / 1.506 GB, free: 250.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001139/2.851, allocations: 362.8 kB / 1.507 GB, free: 250.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/2.852, allocations: 120.5 kB / 1.507 GB, free: 250 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/2.852, allocations: 223.3 kB / 1.507 GB, free: 249.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/2.853, allocations: 140.9 kB / 1.507 GB, free: 249.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/2.853, allocations: 0 / 1.507 GB, free: 249.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001607/2.855, allocations: 417.6 kB / 1.508 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/2.855, allocations: 275.1 kB / 1.508 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/2.855, allocations: 0 / 1.508 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/2.855, allocations: 48.75 kB / 1.508 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/2.856, allocations: 79.88 kB / 1.508 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005256/2.856, allocations: 0.5602 MB / 1.509 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/2.857, allocations: 75.62 kB / 1.509 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/2.857, allocations: 19.98 kB / 1.509 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/2.858, allocations: 4 kB / 1.509 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00117/2.859, allocations: 315.7 kB / 1.509 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/2.859, allocations: 4 kB / 1.509 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/2.859, allocations: 0 / 1.509 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/2.859, allocations: 87.88 kB / 1.509 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/2.859, allocations: 4 kB / 1.509 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/2.86, allocations: 67.78 kB / 1.509 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/2.86, allocations: 12 kB / 1.509 GB, free: 247.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004036/2.861, allocations: 249 kB / 1.509 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/2.861, allocations: 55.34 kB / 1.509 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/2.862, allocations: 428.9 kB / 1.51 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/2.862, allocations: 4 kB / 1.51 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/2.862, allocations: 3.938 kB / 1.51 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/2.862, allocations: 0 / 1.51 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/2.865, allocations: 0.9553 MB / 1.511 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/2.865, allocations: 4 kB / 1.511 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/2.865, allocations: 55.08 kB / 1.511 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002535/2.865, allocations: 48.94 kB / 1.511 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/2.865, allocations: 7.984 kB / 1.511 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003634/2.866, allocations: 0.5639 MB / 1.511 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.866, allocations: 0 / 1.511 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/2.867, allocations: 0.5415 MB / 1.512 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/2.867, allocations: 156.3 kB / 1.512 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/2.868, allocations: 8 kB / 1.512 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006774/2.868, allocations: 55.8 kB / 1.512 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/2.868, allocations: 23.92 kB / 1.512 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/2.868, allocations: 15.98 kB / 1.512 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000524/2.869, allocations: 318.9 kB / 1.513 GB, free: 244 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/2.869, allocations: 0 / 1.513 GB, free: 244 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001227/2.87, allocations: 271.7 kB / 1.513 GB, free: 243.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008371/2.871, allocations: 368.8 kB / 1.513 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001985/2.873, allocations: 487 kB / 1.514 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/2.873, allocations: 0 / 1.514 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006663/2.874, allocations: 179.9 kB / 1.514 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/2.876, allocations: 255.5 kB / 1.514 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/2.878, allocations: 0.9734 MB / 1.515 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/2.878, allocations: 0.8591 MB / 1.516 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008039/2.879, allocations: 120.2 kB / 1.516 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/2.879, allocations: 43.42 kB / 1.516 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/2.879, allocations: 0 / 1.516 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.02847/2.908, allocations: 11.03 MB / 1.527 GB, free: 229.6 MB / 0.8855 GB