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.192/2.192, allocations: 252.6 MB / 265.2 MB, free: 5.629 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 181.5 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001172/0.001171, allocations: 105.6 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.549e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2111, allocations: 106.2 MB / 0.8949 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.827/2.038, allocations: 371 MB / 1.257 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/2.039, allocations: 83.14 kB / 1.257 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.8001/2.839, allocations: 244.7 MB / 1.496 GB, free: 70.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.423e-06/2.839, allocations: 3.938 kB / 1.496 GB, free: 70.79 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.236e-05/2.839, allocations: 23.92 kB / 1.496 GB, free: 70.77 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001965/2.841, allocations: 0.8294 MB / 1.497 GB, free: 69.89 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/2.841, allocations: 12.03 kB / 1.497 GB, free: 69.88 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/2.841, allocations: 63.25 kB / 1.497 GB, free: 69.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/2.842, allocations: 463.7 kB / 1.498 GB, free: 69.33 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/2.842, allocations: 28.78 kB / 1.498 GB, free: 69.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.66e-05/2.842, allocations: 40 kB / 1.498 GB, free: 69.26 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/2.843, allocations: 267.7 kB / 1.498 GB, free: 68.99 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/2.843, allocations: 4 kB / 1.498 GB, free: 68.99 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/2.843, allocations: 15.95 kB / 1.498 GB, free: 68.97 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/2.843, allocations: 7.984 kB / 1.498 GB, free: 68.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/2.844, allocations: 199.1 kB / 1.498 GB, free: 68.77 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.00312/2.847, allocations: 1.326 MB / 1.499 GB, free: 67.33 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007534/2.848, allocations: 234.5 kB / 1.5 GB, free: 67.09 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/2.848, allocations: 108.8 kB / 1.5 GB, free: 66.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/2.848, allocations: 0.4986 MB / 1.5 GB, free: 66.37 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/2.848, allocations: 34.73 kB / 1.5 GB, free: 66.33 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 5.01e-06/2.848, allocations: 3.984 kB / 1.5 GB, free: 66.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0009165/2.849, allocations: 278.2 kB / 1.5 GB, free: 66.04 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/2.849, allocations: 55.41 kB / 1.501 GB, free: 65.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/2.85, allocations: 396.1 kB / 1.501 GB, free: 65.58 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/2.85, allocations: 33.7 kB / 1.501 GB, free: 65.54 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/2.85, allocations: 248.7 kB / 1.501 GB, free: 65.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/2.85, allocations: 82.75 kB / 1.501 GB, free: 65.21 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/2.85, allocations: 8 kB / 1.501 GB, free: 65.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001011/2.85, allocations: 358.8 kB / 1.502 GB, free: 64.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/2.851, allocations: 83.73 kB / 1.502 GB, free: 64.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/2.851, allocations: 186.1 kB / 1.502 GB, free: 64.54 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/2.851, allocations: 108.8 kB / 1.502 GB, free: 64.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/2.851, allocations: 4 kB / 1.502 GB, free: 64.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00104/2.853, allocations: 343.7 kB / 1.502 GB, free: 64.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.009e-05/2.853, allocations: 278.9 kB / 1.503 GB, free: 63.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/2.853, allocations: 4 kB / 1.503 GB, free: 63.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/2.853, allocations: 46.42 kB / 1.503 GB, free: 63.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/2.854, allocations: 79.88 kB / 1.503 GB, free: 63.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004748/2.854, allocations: 0.5601 MB / 1.503 GB, free: 63.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009454/2.855, allocations: 71.72 kB / 1.503 GB, free: 63.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/2.855, allocations: 19.98 kB / 1.503 GB, free: 62.99 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/2.855, allocations: 8 kB / 1.503 GB, free: 62.98 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006701/2.856, allocations: 227.8 kB / 1.504 GB, free: 62.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/2.856, allocations: 7.984 kB / 1.504 GB, free: 62.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/2.856, allocations: 3.938 kB / 1.504 GB, free: 62.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/2.857, allocations: 83.89 kB / 1.504 GB, free: 62.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/2.857, allocations: 7.938 kB / 1.504 GB, free: 62.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008437/2.857, allocations: 67.69 kB / 1.504 GB, free: 62.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/2.858, allocations: 15.98 kB / 1.504 GB, free: 62.58 MB / 0.8542 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 () * 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.0001416/2.858, allocations: 128.9 kB / 1.504 GB, free: 62.45 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/2.858, allocations: 47.44 kB / 1.504 GB, free: 62.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/2.859, allocations: 369.5 kB / 1.504 GB, free: 62.03 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/2.859, allocations: 0 / 1.504 GB, free: 62.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/2.859, allocations: 0 / 1.504 GB, free: 62.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/2.859, allocations: 7.984 kB / 1.504 GB, free: 62.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/2.861, allocations: 0.8746 MB / 1.505 GB, free: 61.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/2.861, allocations: 4.125 kB / 1.505 GB, free: 61.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/2.861, allocations: 51.91 kB / 1.505 GB, free: 61.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/2.861, allocations: 40.83 kB / 1.505 GB, free: 60.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/2.862, allocations: 4 kB / 1.505 GB, free: 60.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003641/2.862, allocations: 0.564 MB / 1.506 GB, free: 60.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.862, allocations: 4.031 kB / 1.506 GB, free: 60.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/2.863, allocations: 486.7 kB / 1.506 GB, free: 59.85 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/2.863, allocations: 164.5 kB / 1.506 GB, free: 59.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/2.863, allocations: 11.98 kB / 1.506 GB, free: 59.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006877/2.864, allocations: 47.94 kB / 1.506 GB, free: 59.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/2.864, allocations: 19.92 kB / 1.506 GB, free: 59.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/2.864, allocations: 12 kB / 1.506 GB, free: 59.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004858/2.864, allocations: 313.6 kB / 1.507 GB, free: 59.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.71e-07/2.865, allocations: 0 / 1.507 GB, free: 59.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001226/2.866, allocations: 283.6 kB / 1.507 GB, free: 59 MB / 0.8542 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 () * 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.0008662/2.867, allocations: 359.2 kB / 1.507 GB, free: 58.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001235/2.868, allocations: 397.2 kB / 1.508 GB, free: 58.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/2.868, allocations: 0 / 1.508 GB, free: 58.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004188/2.868, allocations: 136.1 kB / 1.508 GB, free: 58.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/2.871, allocations: 254.3 kB / 1.508 GB, free: 57.87 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/2.872, allocations: 0.5742 MB / 1.509 GB, free: 57.26 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/2.873, allocations: 0.8717 MB / 1.51 GB, free: 56.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0009583/2.874, allocations: 148.2 kB / 1.51 GB, free: 56.22 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/2.874, allocations: 31.42 kB / 1.51 GB, free: 56.19 MB / 0.8542 GB Notification: Performance of SimCode: time 1.393e-06/2.874, allocations: 0 / 1.51 GB, free: 56.19 MB / 0.8542 GB Notification: Performance of Templates: time 0.03081/2.905, allocations: 12.22 MB / 1.522 GB, free: 44.09 MB / 0.8542 GB