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.173/2.173, allocations: 253.2 MB / 260.6 MB, free: 7.445 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.001504/0.001503, allocations: 178.3 kB / 319.9 MB, free: 3.105 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.091/2.091, allocations: 205.6 MB / 0.5709 GB, free: 15.3 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.001139/0.001138, allocations: 85.64 kB / 0.6751 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.977e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2191, allocations: 106.2 MB / 0.8887 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.433, allocations: 371.2 MB / 1.251 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.434, allocations: 89.5 kB / 1.251 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.389/2.823, allocations: 242.8 MB / 1.488 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.914e-06/2.823, allocations: 0 / 1.488 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.429e-05/2.823, allocations: 19.94 kB / 1.488 GB, free: 131.9 MB / 0.8698 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.001953/2.825, allocations: 0.8256 MB / 1.489 GB, free: 131 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/2.825, allocations: 8.031 kB / 1.489 GB, free: 131 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/2.825, allocations: 67.23 kB / 1.489 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/2.826, allocations: 463.6 kB / 1.49 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/2.826, allocations: 16 kB / 1.49 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/2.827, allocations: 20 kB / 1.49 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005983/2.827, allocations: 193.5 kB / 1.49 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/2.828, allocations: 226.2 kB / 1.49 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/2.828, allocations: 3.953 kB / 1.49 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/2.828, allocations: 0 / 1.49 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/2.828, allocations: 8 kB / 1.49 GB, free: 130 MB / 0.8698 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.00302/2.831, allocations: 1.255 MB / 1.491 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/2.832, allocations: 222.6 kB / 1.492 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/2.832, allocations: 100.9 kB / 1.492 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004218/2.832, allocations: 0.4988 MB / 1.492 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/2.832, allocations: 38.56 kB / 1.492 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.524e-06/2.832, allocations: 3.938 kB / 1.492 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.0009936/2.833, allocations: 270.2 kB / 1.492 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/2.833, allocations: 51.41 kB / 1.493 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/2.834, allocations: 353.2 kB / 1.493 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/2.834, allocations: 29.7 kB / 1.493 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/2.834, allocations: 248.6 kB / 1.493 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/2.834, allocations: 78.75 kB / 1.493 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/2.834, allocations: 4 kB / 1.493 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/2.834, allocations: 358.8 kB / 1.494 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/2.835, allocations: 79.73 kB / 1.494 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/2.835, allocations: 174.4 kB / 1.494 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/2.835, allocations: 116.1 kB / 1.494 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/2.835, allocations: 0 / 1.494 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001123/2.837, allocations: 344.5 kB / 1.494 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/2.837, allocations: 278.9 kB / 1.495 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/2.837, allocations: 3.938 kB / 1.495 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/2.837, allocations: 44.86 kB / 1.495 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/2.838, allocations: 71.89 kB / 1.495 GB, free: 125 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004819/2.838, allocations: 0.5719 MB / 1.495 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009483/2.839, allocations: 59.8 kB / 1.495 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/2.839, allocations: 19.98 kB / 1.495 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/2.839, allocations: 0 / 1.495 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008041/2.84, allocations: 219.8 kB / 1.495 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/2.84, allocations: 3.938 kB / 1.495 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/2.84, allocations: 4 kB / 1.495 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/2.841, allocations: 87.88 kB / 1.496 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/2.841, allocations: 4 kB / 1.496 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/2.842, allocations: 63.62 kB / 1.496 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/2.842, allocations: 12 kB / 1.496 GB, free: 124 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real 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.0001947/2.842, allocations: 117.1 kB / 1.496 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/2.842, allocations: 47.42 kB / 1.496 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/2.843, allocations: 329.5 kB / 1.496 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/2.843, allocations: 4 kB / 1.496 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.843, allocations: 0 / 1.496 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/2.843, allocations: 3.984 kB / 1.496 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/2.845, allocations: 0.8088 MB / 1.497 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/2.845, allocations: 4 kB / 1.497 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/2.845, allocations: 51.95 kB / 1.497 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/2.846, allocations: 36.84 kB / 1.497 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/2.846, allocations: 4.125 kB / 1.497 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000348/2.846, allocations: 0.5717 MB / 1.498 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.846, allocations: 4.031 kB / 1.498 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/2.847, allocations: 462.9 kB / 1.498 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/2.847, allocations: 156.4 kB / 1.498 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/2.847, allocations: 4 kB / 1.498 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/2.848, allocations: 47.8 kB / 1.498 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/2.848, allocations: 23.97 kB / 1.498 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/2.848, allocations: 19.98 kB / 1.498 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003796/2.849, allocations: 270.9 kB / 1.499 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.61e-07/2.849, allocations: 0 / 1.499 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001224/2.85, allocations: 259.6 kB / 1.499 GB, free: 120.6 MB / 0.8698 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.0008809/2.851, allocations: 366.2 kB / 1.499 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001172/2.852, allocations: 388.7 kB / 1.499 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/2.852, allocations: 4 kB / 1.499 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/2.852, allocations: 128.1 kB / 1.5 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/2.855, allocations: 229.7 kB / 1.5 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/2.856, allocations: 0.5558 MB / 1.5 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/2.856, allocations: 0.8712 MB / 1.501 GB, free: 118 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009435/2.857, allocations: 136 kB / 1.501 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/2.858, allocations: 35.42 kB / 1.501 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/2.858, allocations: 0 / 1.501 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.02664/2.884, allocations: 10.1 MB / 1.511 GB, free: 107.9 MB / 0.8698 GB