Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.913/1.913, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.001036/0.001036, allocations: 179.5 kB / 393.1 MB, free: 4.086 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.5/1.5, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000889/0.0008892, allocations: 94.14 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003764, allocations: 8 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8155/0.8159, allocations: 121.3 MB / 1.041 GB, free: 58.6 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01907/0.835, allocations: 20.43 MB / 1.061 GB, free: 43.54 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007372/0.8424, allocations: 7.049 MB / 1.068 GB, free: 37.39 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007677/0.8432, allocations: 13.09 kB / 1.068 GB, free: 37.38 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008277/0.8441, allocations: 221.8 kB / 1.068 GB, free: 37.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.8462, allocations: 0.7505 MB / 1.069 GB, free: 36.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.8484, allocations: 0.6454 MB / 1.069 GB, free: 36.49 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002198/0.8506, allocations: 1.813 MB / 1.071 GB, free: 35.83 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/0.8512, allocations: 374.4 kB / 1.071 GB, free: 35.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009528/0.8522, allocations: 0.5266 MB / 1.072 GB, free: 35.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.8527, allocations: 448.2 kB / 1.072 GB, free: 35.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.8528, allocations: 21.44 kB / 1.072 GB, free: 35.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.8541, allocations: 0.5721 MB / 1.073 GB, free: 35.13 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.8543, allocations: 112.1 kB / 1.073 GB, free: 35.07 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.8545, allocations: 298.8 kB / 1.073 GB, free: 34.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.8556, allocations: 0.8016 MB / 1.074 GB, free: 34.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8557, allocations: 0 / 1.074 GB, free: 34.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8557, allocations: 0 / 1.074 GB, free: 34.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.8557, allocations: 0 / 1.074 GB, free: 34.62 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.001453/0.8571, allocations: 0.8381 MB / 1.075 GB, free: 33.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.8572, allocations: 9.594 kB / 1.075 GB, free: 33.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.8573, allocations: 60.91 kB / 1.075 GB, free: 33.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.8579, allocations: 453.2 kB / 1.075 GB, free: 33.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.8579, allocations: 28.38 kB / 1.075 GB, free: 33.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.858, allocations: 31.84 kB / 1.075 GB, free: 33.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006166/0.8586, allocations: 317.6 kB / 1.076 GB, free: 33.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.8587, allocations: 0 / 1.076 GB, free: 33.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.8587, allocations: 15 kB / 1.076 GB, free: 33.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.8587, allocations: 6.156 kB / 1.076 GB, free: 33.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.8593, allocations: 285.5 kB / 1.076 GB, free: 33.39 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.001974/0.8613, allocations: 1.351 MB / 1.077 GB, free: 32.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.8618, allocations: 263.7 kB / 1.078 GB, free: 32.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.8621, allocations: 146.9 kB / 1.078 GB, free: 32.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/0.8625, allocations: 0.5051 MB / 1.078 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.8625, allocations: 32.77 kB / 1.078 GB, free: 31.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.465e-06/0.8626, allocations: 0 / 1.078 GB, free: 31.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001712/0.8643, allocations: 0.5958 MB / 1.079 GB, free: 31.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.8643, allocations: 54.75 kB / 1.079 GB, free: 31.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.8648, allocations: 463.1 kB / 1.079 GB, free: 31.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.8649, allocations: 36.98 kB / 1.079 GB, free: 31.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.865, allocations: 243.8 kB / 1.08 GB, free: 30.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.8651, allocations: 92.02 kB / 1.08 GB, free: 30.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.8651, allocations: 4 kB / 1.08 GB, free: 30.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8653, allocations: 354.5 kB / 1.08 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.8655, allocations: 128.3 kB / 1.08 GB, free: 30.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.8659, allocations: 188.1 kB / 1.08 GB, free: 30.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005935/0.8665, allocations: 289.3 kB / 1.081 GB, free: 30.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.8665, allocations: 0 / 1.081 GB, free: 30.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001067/0.8676, allocations: 438.4 kB / 1.081 GB, free: 30.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/0.8677, allocations: 112.8 kB / 1.081 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.8677, allocations: 0 / 1.081 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.8681, allocations: 60.2 kB / 1.081 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.8684, allocations: 74.77 kB / 1.081 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003454/0.8688, allocations: 0.5657 MB / 1.082 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.8693, allocations: 66.72 kB / 1.082 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.8693, allocations: 13.94 kB / 1.082 GB, free: 29.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.8693, allocations: 3.344 kB / 1.082 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006192/0.87, allocations: 323 kB / 1.082 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.87, allocations: 0 / 1.082 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-06/0.87, allocations: 4 kB / 1.082 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.8703, allocations: 87.36 kB / 1.082 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.8704, allocations: 7.031 kB / 1.082 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.8707, allocations: 65.33 kB / 1.082 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.8708, allocations: 13.25 kB / 1.082 GB, free: 29.27 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.0002514/0.871, allocations: 248.7 kB / 1.083 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.8711, allocations: 49.12 kB / 1.083 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008802/0.872, allocations: 442.8 kB / 1.083 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.872, allocations: 3.094 kB / 1.083 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.872, allocations: 3.469 kB / 1.083 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.872, allocations: 0 / 1.083 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.8733, allocations: 0.9657 MB / 1.084 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.8733, allocations: 0 / 1.084 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.8735, allocations: 56.42 kB / 1.084 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.8737, allocations: 48.62 kB / 1.084 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.8737, allocations: 10.81 kB / 1.084 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002546/0.874, allocations: 0.5636 MB / 1.085 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.874, allocations: 0 / 1.085 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006943/0.8747, allocations: 0.5072 MB / 1.085 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.8749, allocations: 159.1 kB / 1.085 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.875, allocations: 15.06 kB / 1.085 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.8753, allocations: 52.45 kB / 1.085 GB, free: 27.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.8754, allocations: 20.56 kB / 1.085 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.8754, allocations: 9.312 kB / 1.085 GB, free: 27.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003107/0.8757, allocations: 320.5 kB / 1.086 GB, free: 27.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8757, allocations: 0 / 1.086 GB, free: 27.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007273/0.8765, allocations: 255.7 kB / 1.086 GB, free: 27.03 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.000559/0.877, allocations: 257.7 kB / 1.086 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.8781, allocations: 499.9 kB / 1.087 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8782, allocations: 3.5 kB / 1.087 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.8785, allocations: 172.7 kB / 1.087 GB, free: 26.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.8799, allocations: 254.8 kB / 1.087 GB, free: 26.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.8814, allocations: 1.023 MB / 1.088 GB, free: 26.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.8818, allocations: 0.859 MB / 1.089 GB, free: 25.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005546/0.8824, allocations: 120.4 kB / 1.089 GB, free: 25.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.8825, allocations: 39.41 kB / 1.089 GB, free: 25.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.954e-06/0.8825, allocations: 1.281 kB / 1.089 GB, free: 25.27 MB / 0.698 GB Notification: Performance of Templates: time 0.02558/0.9081, allocations: 9.871 MB / 1.099 GB, free: 24.43 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)