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.282/2.282, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.00153/0.00153, allocations: 185.8 kB / 325.6 MB, free: 2.793 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.579/2.579, allocations: 205.4 MB / 0.5766 GB, free: 21.09 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.001236/0.001235, allocations: 99.98 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006235/0.0006235, allocations: 15.75 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2166, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.03143/0.2481, allocations: 17.42 MB / 0.9159 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009739/0.2579, allocations: 3.959 MB / 0.9198 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008795/0.2588, allocations: 15.88 kB / 0.9198 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.2603, allocations: 258.7 kB / 0.92 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.2643, allocations: 0.7964 MB / 0.9208 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.2684, allocations: 0.7126 MB / 0.9215 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002591/0.271, allocations: 0.8397 MB / 0.9223 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000911/0.2719, allocations: 354.9 kB / 0.9226 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.2734, allocations: 470.5 kB / 0.9231 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007787/0.2742, allocations: 322.7 kB / 0.9234 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.2743, allocations: 20 kB / 0.9234 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.276, allocations: 399.4 kB / 0.9238 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.2762, allocations: 99.58 kB / 0.9239 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.2765, allocations: 125.5 kB / 0.924 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.2777, allocations: 0.5182 MB / 0.9245 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2777, allocations: 4 kB / 0.9245 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2778, allocations: 0 / 0.9245 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.2778, allocations: 0 / 0.9245 GB, free: 39.6 MB / 0.6042 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.002513/0.2803, allocations: 0.8175 MB / 0.9253 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2804, allocations: 12.03 kB / 0.9253 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.2806, allocations: 59.25 kB / 0.9254 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.2816, allocations: 434.9 kB / 0.9258 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.2817, allocations: 24.66 kB / 0.9258 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2818, allocations: 39.98 kB / 0.9259 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.2831, allocations: 310 kB / 0.9262 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.2831, allocations: 0 / 0.9262 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/0.2832, allocations: 15.94 kB / 0.9262 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.2832, allocations: 8 kB / 0.9262 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.2846, allocations: 278.4 kB / 0.9265 GB, free: 37.53 MB / 0.6042 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.00409/0.2887, allocations: 1.36 MB / 0.9278 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.29, allocations: 289.2 kB / 0.9281 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002258/0.2923, allocations: 0.4908 MB / 0.9285 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.2924, allocations: 38.59 kB / 0.9286 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 3.667e-06/0.2924, allocations: 0 / 0.9286 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.003955/0.2964, allocations: 0.5878 MB / 0.9291 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.2965, allocations: 55.41 kB / 0.9292 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.2975, allocations: 458.1 kB / 0.9296 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-05/0.2976, allocations: 33.7 kB / 0.9297 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.2979, allocations: 248.4 kB / 0.9299 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.298, allocations: 90.73 kB / 0.93 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.2981, allocations: 8 kB / 0.93 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2983, allocations: 354.8 kB / 0.9303 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006923/0.299, allocations: 119.9 kB / 0.9305 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007771/0.2998, allocations: 189.2 kB / 0.9306 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007599/0.3006, allocations: 145 kB / 0.9308 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3006, allocations: 0 / 0.9308 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002307/0.3029, allocations: 431.3 kB / 0.9312 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.3031, allocations: 280.2 kB / 0.9314 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3031, allocations: 0 / 0.9314 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/0.3038, allocations: 56.78 kB / 0.9315 GB, free: 32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009008/0.3047, allocations: 75.95 kB / 0.9316 GB, free: 31.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006589/0.3054, allocations: 0.5639 MB / 0.9321 GB, free: 31.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3066, allocations: 75.69 kB / 0.9322 GB, free: 31.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/0.3068, allocations: 11.94 kB / 0.9322 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3068, allocations: 4 kB / 0.9322 GB, free: 31.24 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00166/0.3085, allocations: 319.6 kB / 0.9325 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3085, allocations: 0 / 0.9325 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.3085, allocations: 4 kB / 0.9325 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009774/0.3095, allocations: 87.88 kB / 0.9326 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3096, allocations: 4 kB / 0.9326 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.3107, allocations: 67.64 kB / 0.9327 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.3108, allocations: 15.98 kB / 0.9327 GB, free: 30.75 MB / 0.6042 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.0004376/0.3113, allocations: 241 kB / 0.9329 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.3115, allocations: 51.39 kB / 0.933 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.3136, allocations: 444.6 kB / 0.9334 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.3136, allocations: 4 kB / 0.9334 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.3137, allocations: 0 / 0.9334 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.3137, allocations: 0 / 0.9334 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.3169, allocations: 0.9669 MB / 0.9343 GB, free: 28.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.3169, allocations: 0 / 0.9343 GB, free: 28.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.3175, allocations: 59.89 kB / 0.9344 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/0.3179, allocations: 40.83 kB / 0.9344 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.878e-05/0.318, allocations: 8 kB / 0.9344 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005307/0.3185, allocations: 0.5603 MB / 0.935 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.3186, allocations: 3.938 kB / 0.935 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.3204, allocations: 0.561 MB / 0.9355 GB, free: 27.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.3208, allocations: 164.3 kB / 0.9357 GB, free: 27.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.321, allocations: 4 kB / 0.9357 GB, free: 27.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009655/0.3219, allocations: 43.95 kB / 0.9357 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.3221, allocations: 27.78 kB / 0.9358 GB, free: 27.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.3222, allocations: 15.98 kB / 0.9358 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007243/0.3229, allocations: 318.8 kB / 0.9361 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.42e-07/0.3229, allocations: 4 kB / 0.9361 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001674/0.3246, allocations: 251.5 kB / 0.9363 GB, free: 26.82 MB / 0.6042 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.0008463/0.3255, allocations: 242.8 kB / 0.9366 GB, free: 26.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002682/0.3282, allocations: 484.6 kB / 0.937 GB, free: 26.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.3283, allocations: 4 kB / 0.937 GB, free: 26.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009343/0.3292, allocations: 179.7 kB / 0.9372 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.3324, allocations: 247 kB / 0.9374 GB, free: 25.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.3352, allocations: 0.974 MB / 0.9384 GB, free: 24.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.3357, allocations: 0.8669 MB / 0.9392 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001113/0.3369, allocations: 124.6 kB / 0.9394 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.3371, allocations: 43.42 kB / 0.9394 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of SimCode: time 1.292e-06/0.3371, allocations: 0 / 0.9394 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.03434/0.3715, allocations: 9.582 MB / 0.9488 GB, free: 14.16 MB / 0.6042 GB