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.488/1.488, allocations: 252 MB / 268 MB, free: 10.87 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.001037/0.001037, allocations: 182.8 kB / 327.6 MB, free: 2.098 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.631/1.631, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007851/0.000785, allocations: 86.34 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 12.91 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2222, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.0173/0.2395, allocations: 20.08 MB / 0.9211 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005654/0.2452, allocations: 4.862 MB / 0.9258 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008491/0.2461, allocations: 19.88 kB / 0.9258 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008523/0.247, allocations: 222.7 kB / 0.926 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.2493, allocations: 0.7464 MB / 0.9268 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.2512, allocations: 0.6396 MB / 0.9274 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.2531, allocations: 1.808 MB / 0.9292 GB, free: 35.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/0.2537, allocations: 368 kB / 0.9295 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009417/0.2546, allocations: 0.529 MB / 0.93 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006316/0.2553, allocations: 450 kB / 0.9305 GB, free: 33.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.006e-05/0.2554, allocations: 20 kB / 0.9305 GB, free: 33.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.2566, allocations: 0.6003 MB / 0.9311 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.2567, allocations: 111.5 kB / 0.9312 GB, free: 32.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.257, allocations: 288.2 kB / 0.9314 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000657/0.2577, allocations: 0.5847 MB / 0.932 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2577, allocations: 3.938 kB / 0.932 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2577, allocations: 0 / 0.932 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2577, allocations: 0 / 0.932 GB, free: 32.11 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.001213/0.2589, allocations: 0.8294 MB / 0.9328 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.259, allocations: 8.031 kB / 0.9328 GB, free: 31.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.2591, allocations: 68.19 kB / 0.9329 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.2595, allocations: 455.2 kB / 0.9333 GB, free: 30.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2596, allocations: 28.66 kB / 0.9334 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.2596, allocations: 32 kB / 0.9334 GB, free: 30.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.2602, allocations: 314 kB / 0.9337 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2602, allocations: 4 kB / 0.9337 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.2602, allocations: 16 kB / 0.9337 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2602, allocations: 11.94 kB / 0.9337 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005455/0.2608, allocations: 278.4 kB / 0.934 GB, free: 30 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.001772/0.2626, allocations: 1.356 MB / 0.9353 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.263, allocations: 258.5 kB / 0.9356 GB, free: 28.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.2633, allocations: 152.7 kB / 0.9357 GB, free: 28.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.2636, allocations: 0.4947 MB / 0.9362 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.2636, allocations: 42.58 kB / 0.9362 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.2636, allocations: 0 / 0.9362 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.00159/0.2652, allocations: 0.5951 MB / 0.9368 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.2653, allocations: 55.41 kB / 0.9369 GB, free: 26.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.2656, allocations: 470.1 kB / 0.9373 GB, free: 26.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.2657, allocations: 29.7 kB / 0.9373 GB, free: 26.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.2658, allocations: 248.5 kB / 0.9376 GB, free: 26.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.2659, allocations: 86.69 kB / 0.9377 GB, free: 25.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.2659, allocations: 8 kB / 0.9377 GB, free: 25.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.266, allocations: 354.8 kB / 0.938 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.2663, allocations: 135.7 kB / 0.9381 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.2666, allocations: 192.7 kB / 0.9383 GB, free: 25.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.2671, allocations: 290.6 kB / 0.9386 GB, free: 24.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2671, allocations: 4 kB / 0.9386 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000863/0.268, allocations: 445.6 kB / 0.939 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.268, allocations: 106.5 kB / 0.9391 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.268, allocations: 4 kB / 0.9391 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.2684, allocations: 56.81 kB / 0.9392 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.2687, allocations: 71.89 kB / 0.9393 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003411/0.2691, allocations: 0.5679 MB / 0.9398 GB, free: 23.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.2696, allocations: 59.77 kB / 0.9399 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.2696, allocations: 16 kB / 0.9399 GB, free: 23.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.2696, allocations: 6.656 kB / 0.9399 GB, free: 23.56 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006135/0.2702, allocations: 323.7 kB / 0.9402 GB, free: 23.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2703, allocations: 4 kB / 0.9402 GB, free: 23.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.2703, allocations: 7.938 kB / 0.9402 GB, free: 23.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.2706, allocations: 79.94 kB / 0.9403 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.2706, allocations: 3.938 kB / 0.9403 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.271, allocations: 67.64 kB / 0.9404 GB, free: 23.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.2711, allocations: 19.98 kB / 0.9404 GB, free: 23.06 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.0001861/0.2713, allocations: 244.9 kB / 0.9406 GB, free: 22.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.2713, allocations: 47.44 kB / 0.9407 GB, free: 22.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008316/0.2722, allocations: 440 kB / 0.9411 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.2722, allocations: 11.97 kB / 0.9411 GB, free: 22.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2722, allocations: 0 / 0.9411 GB, free: 22.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2722, allocations: 4 kB / 0.9411 GB, free: 22.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.2735, allocations: 0.9657 MB / 0.942 GB, free: 21.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2735, allocations: 3.938 kB / 0.942 GB, free: 21.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.2737, allocations: 52.08 kB / 0.9421 GB, free: 21.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/0.2739, allocations: 52.75 kB / 0.9421 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.2739, allocations: 11.94 kB / 0.9421 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002241/0.2741, allocations: 0.5562 MB / 0.9427 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2741, allocations: 4.031 kB / 0.9427 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/0.2748, allocations: 0.521 MB / 0.9432 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.2749, allocations: 152.5 kB / 0.9433 GB, free: 19.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.275, allocations: 11.98 kB / 0.9434 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.2754, allocations: 47.81 kB / 0.9434 GB, free: 19.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.2754, allocations: 23.83 kB / 0.9434 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.2755, allocations: 11.98 kB / 0.9434 GB, free: 19.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002689/0.2757, allocations: 326.9 kB / 0.9437 GB, free: 19.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2757, allocations: 4 kB / 0.9438 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006623/0.2764, allocations: 243.5 kB / 0.944 GB, free: 19.2 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.0004421/0.2769, allocations: 253.8 kB / 0.9442 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.2779, allocations: 491.5 kB / 0.9447 GB, free: 18.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2779, allocations: 8 kB / 0.9447 GB, free: 18.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003582/0.2783, allocations: 175.8 kB / 0.9449 GB, free: 18.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.2797, allocations: 263.1 kB / 0.9451 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.2809, allocations: 1.04 MB / 0.9461 GB, free: 16.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.2812, allocations: 0.8552 MB / 0.947 GB, free: 16.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.2813, allocations: 47.42 kB / 0.947 GB, free: 16.02 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2813, allocations: 0 / 0.947 GB, free: 16.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.01118/0.2925, allocations: 10.2 MB / 0.957 GB, free: 5.891 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)