Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.988/4.988, allocations: 0.5623 GB / 0.5775 GB, free: 3.391 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002521/0.002521, allocations: 361.8 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.216/4.216, allocations: 410.7 MB / 1.113 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001832/0.001832, allocations: 186.4 kB / 1.226 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004982, allocations: 12 kB / 1.349 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7348, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.873, allocations: 378.7 MB / 1.831 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/1.873, allocations: 95.12 kB / 1.831 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.8088/2.682, allocations: 250.6 MB / 2.076 GB, free: 5.004 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.676e-06/2.682, allocations: 3.938 kB / 2.076 GB, free: 5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.218e-05/2.682, allocations: 23.92 kB / 2.076 GB, free: 4.977 MB / 0.9323 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.002561/2.685, allocations: 0.9344 MB / 2.077 GB, free: 3.992 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/2.685, allocations: 11.62 kB / 2.077 GB, free: 3.984 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/2.685, allocations: 67.2 kB / 2.077 GB, free: 3.918 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/2.686, allocations: 475.4 kB / 2.077 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/2.687, allocations: 28.66 kB / 2.077 GB, free: 3.383 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/2.687, allocations: 40 kB / 2.077 GB, free: 3.344 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/2.688, allocations: 310 kB / 2.078 GB, free: 3.035 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/2.688, allocations: 0 / 2.078 GB, free: 3.035 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/2.688, allocations: 8 kB / 2.078 GB, free: 3.027 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/2.688, allocations: 11.95 kB / 2.078 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/2.689, allocations: 274.4 kB / 2.078 GB, free: 2.75 MB / 0.9323 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.003511/2.692, allocations: 1.329 MB / 2.079 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009475/2.693, allocations: 254.5 kB / 2.08 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/2.694, allocations: 140.8 kB / 2.08 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005321/2.694, allocations: 0.4947 MB / 2.08 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/2.695, allocations: 38.59 kB / 2.08 GB, free: 256 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 2.736e-06/2.695, allocations: 4 kB / 2.08 GB, free: 252 kB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.003061/2.698, allocations: 0.5763 MB / 2.081 GB, free: 15.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/2.698, allocations: 59.39 kB / 2.081 GB, free: 15.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/2.698, allocations: 458.2 kB / 2.081 GB, free: 15.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/2.699, allocations: 33.7 kB / 2.081 GB, free: 15.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/2.699, allocations: 252.7 kB / 2.082 GB, free: 14.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/2.699, allocations: 82.75 kB / 2.082 GB, free: 14.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/2.699, allocations: 8 kB / 2.082 GB, free: 14.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00016/2.699, allocations: 350.8 kB / 2.082 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/2.7, allocations: 127.7 kB / 2.082 GB, free: 14.26 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/2.7, allocations: 225.1 kB / 2.082 GB, free: 14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/2.701, allocations: 141.2 kB / 2.082 GB, free: 13.86 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/2.701, allocations: 3.984 kB / 2.082 GB, free: 13.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001743/2.703, allocations: 416.2 kB / 2.083 GB, free: 13.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/2.703, allocations: 114.4 kB / 2.083 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/2.703, allocations: 0 / 2.083 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/2.703, allocations: 68.73 kB / 2.083 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/2.704, allocations: 75.88 kB / 2.083 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005774/2.705, allocations: 0.5602 MB / 2.084 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000999/2.706, allocations: 71.69 kB / 2.084 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/2.706, allocations: 19.98 kB / 2.084 GB, free: 12.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/2.706, allocations: 15.89 kB / 2.084 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001235/2.707, allocations: 307.7 kB / 2.084 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/2.707, allocations: 0 / 2.084 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/2.707, allocations: 4 kB / 2.084 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/2.708, allocations: 83.88 kB / 2.084 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/2.708, allocations: 0 / 2.084 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008995/2.709, allocations: 71.69 kB / 2.084 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/2.709, allocations: 12 kB / 2.084 GB, free: 12.02 MB / 0.948 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.0004164/2.709, allocations: 252.8 kB / 2.084 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/2.709, allocations: 51.39 kB / 2.085 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/2.711, allocations: 429.6 kB / 2.085 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/2.711, allocations: 8.141 kB / 2.085 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/2.711, allocations: 0 / 2.085 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/2.711, allocations: 3.984 kB / 2.085 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/2.714, allocations: 0.9526 MB / 2.086 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/2.714, allocations: 4 kB / 2.086 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004524/2.714, allocations: 56.08 kB / 2.086 GB, free: 10.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/2.714, allocations: 40.81 kB / 2.086 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/2.714, allocations: 8 kB / 2.086 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004616/2.715, allocations: 0.5563 MB / 2.087 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.715, allocations: 0 / 2.087 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/2.716, allocations: 0.5068 MB / 2.087 GB, free: 9.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/2.717, allocations: 160.3 kB / 2.087 GB, free: 8.844 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.553e-05/2.717, allocations: 8 kB / 2.087 GB, free: 8.836 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007182/2.717, allocations: 43.95 kB / 2.087 GB, free: 8.793 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/2.718, allocations: 27.92 kB / 2.087 GB, free: 8.766 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/2.718, allocations: 15.98 kB / 2.087 GB, free: 8.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005909/2.718, allocations: 314.9 kB / 2.088 GB, free: 8.445 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/2.718, allocations: 0 / 2.088 GB, free: 8.445 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001278/2.719, allocations: 279.6 kB / 2.088 GB, free: 8.172 MB / 0.948 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.0009457/2.72, allocations: 359.2 kB / 2.088 GB, free: 7.816 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00207/2.723, allocations: 491.5 kB / 2.089 GB, free: 7.336 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/2.723, allocations: 0 / 2.089 GB, free: 7.336 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/2.723, allocations: 176.6 kB / 2.089 GB, free: 7.164 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/2.726, allocations: 254.1 kB / 2.089 GB, free: 6.922 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/2.728, allocations: 0.9693 MB / 2.09 GB, free: 5.914 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/2.729, allocations: 0.8708 MB / 2.091 GB, free: 5.016 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008415/2.73, allocations: 116.7 kB / 2.091 GB, free: 4.898 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/2.73, allocations: 47.42 kB / 2.091 GB, free: 4.852 MB / 0.948 GB Notification: Performance of SimCode: time 1.402e-06/2.73, allocations: 0 / 2.091 GB, free: 4.852 MB / 0.948 GB Notification: Performance of Templates: time 0.6761/3.406, allocations: 11.03 MB / 2.102 GB, free: 278.8 MB / 0.948 GB