Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.2 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008111/0.0008111, allocations: 95.02 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003265, allocations: 13.75 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2262, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01442/0.2406, allocations: 20.35 MB / 0.9166 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005571/0.2462, allocations: 4.931 MB / 0.9214 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006557/0.2469, allocations: 15.88 kB / 0.9214 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.2476, allocations: 222.7 kB / 0.9216 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.2494, allocations: 0.7403 MB / 0.9224 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.2511, allocations: 0.6458 MB / 0.923 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.2528, allocations: 1.813 MB / 0.9248 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.2532, allocations: 363.9 kB / 0.9251 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007544/0.254, allocations: 0.5211 MB / 0.9256 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.2545, allocations: 454.1 kB / 0.9261 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.2545, allocations: 20 kB / 0.9261 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.2555, allocations: 0.5964 MB / 0.9267 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2557, allocations: 103.5 kB / 0.9268 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.2559, allocations: 266.5 kB / 0.927 GB, free: 37.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.2565, allocations: 0.5806 MB / 0.9276 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2565, allocations: 0 / 0.9276 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2565, allocations: 0 / 0.9276 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2565, allocations: 3.938 kB / 0.9276 GB, free: 36.51 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.001285/0.2578, allocations: 0.8371 MB / 0.9284 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2578, allocations: 12.03 kB / 0.9284 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2579, allocations: 68.17 kB / 0.9285 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.2585, allocations: 447.4 kB / 0.9289 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2585, allocations: 24.66 kB / 0.9289 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.2585, allocations: 36 kB / 0.929 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.2591, allocations: 322 kB / 0.9293 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2591, allocations: 0 / 0.9293 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.2591, allocations: 12 kB / 0.9293 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2592, allocations: 4 kB / 0.9293 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/0.2597, allocations: 286.4 kB / 0.9296 GB, free: 34.39 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.001744/0.2614, allocations: 1.364 MB / 0.9309 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.2619, allocations: 266.5 kB / 0.9311 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.2622, allocations: 144.8 kB / 0.9313 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/0.2625, allocations: 0.4947 MB / 0.9318 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.2625, allocations: 42.59 kB / 0.9318 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.2625, allocations: 0 / 0.9318 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001561/0.2641, allocations: 0.5951 MB / 0.9324 GB, free: 31.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.2641, allocations: 59.41 kB / 0.9324 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.2645, allocations: 466.1 kB / 0.9329 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.2645, allocations: 33.7 kB / 0.9329 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.2647, allocations: 240.5 kB / 0.9332 GB, free: 30.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.2647, allocations: 86.75 kB / 0.9332 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.2648, allocations: 37.7 kB / 0.9333 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.2649, allocations: 354.8 kB / 0.9336 GB, free: 29.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.2651, allocations: 127.7 kB / 0.9337 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.2655, allocations: 200.7 kB / 0.9339 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.266, allocations: 294 kB / 0.9342 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.266, allocations: 4.219 kB / 0.9342 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001362/0.2674, allocations: 0.5014 MB / 0.9347 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.2674, allocations: 106.7 kB / 0.9348 GB, free: 28.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2675, allocations: 0 / 0.9348 GB, free: 28.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003432/0.2678, allocations: 60.81 kB / 0.9349 GB, free: 28.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.2682, allocations: 67.89 kB / 0.9349 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002991/0.2685, allocations: 0.5679 MB / 0.9355 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.269, allocations: 71.67 kB / 0.9355 GB, free: 27.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.269, allocations: 15.98 kB / 0.9356 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.2691, allocations: 4 kB / 0.9356 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006423/0.2697, allocations: 330.4 kB / 0.9359 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.2697, allocations: 0 / 0.9359 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.2697, allocations: 4 kB / 0.9359 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.2701, allocations: 83.89 kB / 0.936 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.2701, allocations: 4 kB / 0.936 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.2705, allocations: 67.62 kB / 0.936 GB, free: 27.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.2705, allocations: 12 kB / 0.936 GB, free: 27.35 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000229/0.2708, allocations: 249 kB / 0.9363 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.2709, allocations: 47.42 kB / 0.9363 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008919/0.2718, allocations: 440.1 kB / 0.9367 GB, free: 26.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.2718, allocations: 4 kB / 0.9367 GB, free: 26.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2718, allocations: 4 kB / 0.9368 GB, free: 26.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2718, allocations: 0 / 0.9368 GB, free: 26.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.2732, allocations: 0.9715 MB / 0.9377 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2732, allocations: 4 kB / 0.9377 GB, free: 25.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.2734, allocations: 47.97 kB / 0.9378 GB, free: 25.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001621/0.2736, allocations: 52.95 kB / 0.9378 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.2736, allocations: 8 kB / 0.9378 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002524/0.2739, allocations: 0.564 MB / 0.9384 GB, free: 24.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2739, allocations: 0 / 0.9384 GB, free: 24.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.2746, allocations: 0.5132 MB / 0.9389 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.2747, allocations: 156.4 kB / 0.939 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.2748, allocations: 4 kB / 0.939 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.2751, allocations: 47.89 kB / 0.9391 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.2752, allocations: 27.95 kB / 0.9391 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.2753, allocations: 15.98 kB / 0.9391 GB, free: 24.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002947/0.2756, allocations: 318.8 kB / 0.9394 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2756, allocations: 0 / 0.9394 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007171/0.2763, allocations: 255.5 kB / 0.9396 GB, free: 23.49 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005012/0.2768, allocations: 260.2 kB / 0.9399 GB, free: 23.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.2778, allocations: 487.5 kB / 0.9404 GB, free: 22.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2778, allocations: 0 / 0.9404 GB, free: 22.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.2782, allocations: 186.8 kB / 0.9405 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.2795, allocations: 251.3 kB / 0.9408 GB, free: 22.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.2808, allocations: 1.035 MB / 0.9418 GB, free: 21.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.2811, allocations: 0.8513 MB / 0.9426 GB, free: 20.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.2812, allocations: 47.42 kB / 0.9427 GB, free: 20.34 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/0.2812, allocations: 0 / 0.9427 GB, free: 20.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.01142/0.2926, allocations: 10.19 MB / 0.9526 GB, free: 10.21 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)