Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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") 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.58/2.58, allocations: 254.9 MB / 269.9 MB, free: 9.629 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 187.7 kB / 329.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.459/2.459, allocations: 225.6 MB / 0.6001 GB, free: 2.203 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 106.2 kB / 0.7074 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.0005091, allocations: 14.94 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2126, allocations: 109.1 MB / 0.9308 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02746/0.2401, allocations: 19.04 MB / 0.9493 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.008154/0.2483, allocations: 4.592 MB / 0.9538 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008568/0.2492, allocations: 19.81 kB / 0.9538 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009371/0.2502, allocations: 198.7 kB / 0.954 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.2529, allocations: 0.6411 MB / 0.9547 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.2555, allocations: 0.6004 MB / 0.9553 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002964/0.2585, allocations: 1.559 MB / 0.9568 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009236/0.2595, allocations: 358.8 kB / 0.9571 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.2611, allocations: 0.494 MB / 0.9576 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.2622, allocations: 426.2 kB / 0.958 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.2624, allocations: 20 kB / 0.958 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.2642, allocations: 0.5185 MB / 0.9585 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.2645, allocations: 107.5 kB / 0.9586 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.2648, allocations: 129.4 kB / 0.9588 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.2661, allocations: 0.5574 MB / 0.9593 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.2662, allocations: 4 kB / 0.9593 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2662, allocations: 4 kB / 0.9593 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.2662, allocations: 0 / 0.9593 GB, free: 11.81 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.002269/0.2685, allocations: 0.8333 MB / 0.9601 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2685, allocations: 11.97 kB / 0.9601 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.2687, allocations: 64.19 kB / 0.9602 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009802/0.2697, allocations: 431.7 kB / 0.9606 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.2698, allocations: 24.66 kB / 0.9606 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.2699, allocations: 36 kB / 0.9607 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.2709, allocations: 325.9 kB / 0.961 GB, free: 10 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.271, allocations: 0 / 0.961 GB, free: 10 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.271, allocations: 12 kB / 0.961 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.2711, allocations: 8 kB / 0.961 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.2722, allocations: 278.4 kB / 0.9613 GB, free: 9.711 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.003758/0.276, allocations: 1.352 MB / 0.9626 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009291/0.277, allocations: 274.5 kB / 0.9628 GB, free: 7.961 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.2775, allocations: 150.5 kB / 0.963 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006125/0.2782, allocations: 0.5025 MB / 0.9635 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.2782, allocations: 38.56 kB / 0.9635 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/0.2783, allocations: 0 / 0.9635 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.003101/0.2814, allocations: 0.5822 MB / 0.9641 GB, free: 6.539 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.2814, allocations: 63.34 kB / 0.9641 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.2823, allocations: 462 kB / 0.9646 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.449e-05/0.2824, allocations: 33.7 kB / 0.9646 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.2827, allocations: 240.7 kB / 0.9648 GB, free: 5.727 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.2829, allocations: 86.73 kB / 0.9649 GB, free: 5.641 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.2829, allocations: 11.94 kB / 0.9649 GB, free: 5.629 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2831, allocations: 358.8 kB / 0.9653 GB, free: 5.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/0.2837, allocations: 127.9 kB / 0.9654 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.2844, allocations: 188.8 kB / 0.9656 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/0.285, allocations: 131.9 kB / 0.9657 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.285, allocations: 4 kB / 0.9657 GB, free: 4.809 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001798/0.2868, allocations: 435.3 kB / 0.9661 GB, free: 4.375 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.057e-05/0.2869, allocations: 102.7 kB / 0.9662 GB, free: 4.262 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.2869, allocations: 7.984 kB / 0.9662 GB, free: 4.254 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005015/0.2874, allocations: 56.84 kB / 0.9663 GB, free: 4.195 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.2882, allocations: 79.83 kB / 0.9664 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005803/0.2888, allocations: 0.5524 MB / 0.9669 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/0.2897, allocations: 71.7 kB / 0.967 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.2898, allocations: 11.98 kB / 0.967 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2898, allocations: 7.906 kB / 0.967 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001277/0.2911, allocations: 321.8 kB / 0.9673 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2911, allocations: 4 kB / 0.9673 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.2911, allocations: 4 kB / 0.9673 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/0.2919, allocations: 83.88 kB / 0.9674 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2919, allocations: 3.938 kB / 0.9674 GB, free: 3.043 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000892/0.2928, allocations: 63.92 kB / 0.9674 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.2929, allocations: 12 kB / 0.9675 GB, free: 2.969 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.0003671/0.2933, allocations: 245 kB / 0.9677 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.2934, allocations: 59.28 kB / 0.9677 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.295, allocations: 444.8 kB / 0.9682 GB, free: 2.219 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.2951, allocations: 8 kB / 0.9682 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2951, allocations: 0 / 0.9682 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.2951, allocations: 11.92 kB / 0.9682 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.2977, allocations: 0.9597 MB / 0.9691 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2977, allocations: 0 / 0.9691 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/0.2981, allocations: 55.91 kB / 0.9692 GB, free: 1.113 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002745/0.2984, allocations: 44.95 kB / 0.9692 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.2985, allocations: 11.98 kB / 0.9692 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004884/0.299, allocations: 0.56 MB / 0.9698 GB, free: 480 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.299, allocations: 4.031 kB / 0.9698 GB, free: 476 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.3005, allocations: 0.5001 MB / 0.9703 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.3008, allocations: 164.3 kB / 0.9704 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.806e-05/0.301, allocations: 4 kB / 0.9704 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/0.3016, allocations: 47.89 kB / 0.9705 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.3018, allocations: 19.97 kB / 0.9705 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.3018, allocations: 12 kB / 0.9705 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005529/0.3024, allocations: 314.9 kB / 0.9708 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.11e-07/0.3024, allocations: 4 kB / 0.9708 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001132/0.3035, allocations: 255.5 kB / 0.9711 GB, free: 15.11 MB / 0.6198 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.0007313/0.3043, allocations: 244.1 kB / 0.9713 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.3064, allocations: 0.4937 MB / 0.9718 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.3064, allocations: 4 kB / 0.9718 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007345/0.3072, allocations: 169.1 kB / 0.9719 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.3098, allocations: 258.7 kB / 0.9722 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.3122, allocations: 0.9694 MB / 0.9731 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.3128, allocations: 0.8629 MB / 0.974 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008304/0.3137, allocations: 120.3 kB / 0.9741 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.3138, allocations: 43.42 kB / 0.9741 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of SimCode: time 1.242e-06/0.3139, allocations: 0 / 0.9741 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.02936/0.3432, allocations: 9.605 MB / 0.9835 GB, free: 2.434 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)