Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 297.4 MB / 312.6 MB, free: 2.914 MB / 234.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.001022/0.001022, allocations: 182 kB / 382.3 MB, free: 14.82 MB / 314.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 1.385/1.385, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.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.0008398/0.0008402, allocations: 100.6 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 8 kB / 0.9058 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7829/0.7833, allocations: 119.2 MB / 1.022 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01831/0.8017, allocations: 20.44 MB / 1.042 GB, free: 43.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007513/0.8092, allocations: 7.021 MB / 1.049 GB, free: 37.06 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009459/0.8103, allocations: 14.78 kB / 1.049 GB, free: 37.05 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000941/0.8112, allocations: 223.6 kB / 1.049 GB, free: 36.92 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.8139, allocations: 0.7434 MB / 1.05 GB, free: 36.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.8161, allocations: 0.6537 MB / 1.051 GB, free: 36.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.8185, allocations: 1.812 MB / 1.052 GB, free: 35.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000646/0.8192, allocations: 368.4 kB / 1.053 GB, free: 35.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.8204, allocations: 0.5265 MB / 1.053 GB, free: 35.17 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006746/0.821, allocations: 448.6 kB / 1.054 GB, free: 34.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.402e-05/0.8211, allocations: 21.16 kB / 1.054 GB, free: 34.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.8225, allocations: 0.5776 MB / 1.054 GB, free: 34.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.8227, allocations: 101.5 kB / 1.054 GB, free: 34.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.823, allocations: 297.5 kB / 1.055 GB, free: 34.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.8241, allocations: 0.8087 MB / 1.055 GB, free: 34.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8241, allocations: 0 / 1.055 GB, free: 34.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.078e-06/0.8241, allocations: 1.375 kB / 1.055 GB, free: 34.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.8241, allocations: 3.938 kB / 1.055 GB, free: 34.3 MB / 0.698 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.001422/0.8255, allocations: 0.8347 MB / 1.056 GB, free: 33.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.8256, allocations: 10.44 kB / 1.056 GB, free: 33.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.905e-05/0.8257, allocations: 68.91 kB / 1.056 GB, free: 33.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.8263, allocations: 449.8 kB / 1.057 GB, free: 33.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.8263, allocations: 28.44 kB / 1.057 GB, free: 33.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.8264, allocations: 36.72 kB / 1.057 GB, free: 33.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.827, allocations: 316.7 kB / 1.057 GB, free: 33.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.827, allocations: 0 / 1.057 GB, free: 33.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.827, allocations: 13.23 kB / 1.057 GB, free: 33.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.827, allocations: 6.656 kB / 1.057 GB, free: 33.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005678/0.8276, allocations: 283.7 kB / 1.057 GB, free: 33.07 MB / 0.698 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.00194/0.8296, allocations: 1.352 MB / 1.059 GB, free: 32.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.8301, allocations: 260.6 kB / 1.059 GB, free: 32.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.8304, allocations: 145.7 kB / 1.059 GB, free: 32.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000403/0.8308, allocations: 0.4986 MB / 1.06 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.8308, allocations: 42 kB / 1.06 GB, free: 31.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.8308, allocations: 0 / 1.06 GB, free: 31.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001647/0.8325, allocations: 0.586 MB / 1.06 GB, free: 31.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.8325, allocations: 58.41 kB / 1.06 GB, free: 31.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.833, allocations: 469.1 kB / 1.061 GB, free: 30.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.833, allocations: 32.98 kB / 1.061 GB, free: 30.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.8331, allocations: 242.5 kB / 1.061 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.8332, allocations: 83.92 kB / 1.061 GB, free: 30.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.8332, allocations: 11.56 kB / 1.061 GB, free: 30.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.8333, allocations: 356.1 kB / 1.061 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.8336, allocations: 132.2 kB / 1.062 GB, free: 30.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.834, allocations: 195.3 kB / 1.062 GB, free: 30.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.8345, allocations: 292.1 kB / 1.062 GB, free: 29.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8345, allocations: 0 / 1.062 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009202/0.8354, allocations: 439.2 kB / 1.062 GB, free: 29.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.8355, allocations: 105.2 kB / 1.063 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8355, allocations: 0 / 1.063 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.8359, allocations: 58.28 kB / 1.063 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.8362, allocations: 78.97 kB / 1.063 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003261/0.8366, allocations: 0.5561 MB / 1.063 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.8371, allocations: 81.38 kB / 1.063 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.8372, allocations: 16.34 kB / 1.063 GB, free: 29.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.8372, allocations: 3.219 kB / 1.063 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006589/0.8378, allocations: 318 kB / 1.064 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8379, allocations: 3.469 kB / 1.064 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/0.8379, allocations: 3.156 kB / 1.064 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.8382, allocations: 80.58 kB / 1.064 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.8383, allocations: 7.188 kB / 1.064 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.8387, allocations: 66.47 kB / 1.064 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.8387, allocations: 9.375 kB / 1.064 GB, free: 28.96 MB / 0.698 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.0002215/0.839, allocations: 249.6 kB / 1.064 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.839, allocations: 53.69 kB / 1.064 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000884/0.8399, allocations: 435.1 kB / 1.065 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.84, allocations: 7.391 kB / 1.065 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.84, allocations: 4 kB / 1.065 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.84, allocations: 3.938 kB / 1.065 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.8413, allocations: 0.9747 MB / 1.065 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.8414, allocations: 0 / 1.065 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.8416, allocations: 58.83 kB / 1.066 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.8418, allocations: 45.67 kB / 1.066 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.8418, allocations: 10.94 kB / 1.066 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002669/0.8421, allocations: 0.5582 MB / 1.066 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8421, allocations: 0 / 1.066 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.8428, allocations: 0.5081 MB / 1.067 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.843, allocations: 164.3 kB / 1.067 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.8431, allocations: 7.188 kB / 1.067 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.8434, allocations: 44.97 kB / 1.067 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.8435, allocations: 19.48 kB / 1.067 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.8435, allocations: 13.41 kB / 1.067 GB, free: 26.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003021/0.8438, allocations: 319.5 kB / 1.067 GB, free: 26.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8438, allocations: 3.281 kB / 1.067 GB, free: 26.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007979/0.8446, allocations: 253.6 kB / 1.067 GB, free: 26.72 MB / 0.698 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.0005378/0.8452, allocations: 260.9 kB / 1.068 GB, free: 26.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.8464, allocations: 498 kB / 1.068 GB, free: 26.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.8464, allocations: 0 / 1.068 GB, free: 26.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.8468, allocations: 168.5 kB / 1.068 GB, free: 26.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.8483, allocations: 257.9 kB / 1.069 GB, free: 26.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.8498, allocations: 1.029 MB / 1.07 GB, free: 25.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.8502, allocations: 0.8573 MB / 1.07 GB, free: 24.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004715/0.8506, allocations: 112.7 kB / 1.071 GB, free: 24.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.8508, allocations: 43.84 kB / 1.071 GB, free: 24.95 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.8508, allocations: 0 / 1.071 GB, free: 24.95 MB / 0.698 GB Notification: Performance of Templates: time 0.0172/0.868, allocations: 9.883 MB / 1.08 GB, free: 24.12 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)