Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 292.6 MB / 307.8 MB, free: 7.051 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.001751/0.001751, allocations: 196.9 kB / 376.5 MB, free: 4.391 MB / 298.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.429/1.429, allocations: 225.7 MB / 0.655 GB, free: 13.05 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.0008589/0.0008589, allocations: 99.34 kB / 0.7711 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.0005108, allocations: 12 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7721/0.7726, allocations: 118.2 MB / 1.012 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01859/0.7913, allocations: 19.02 MB / 1.031 GB, free: 51.54 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006308/0.7977, allocations: 4.612 MB / 1.035 GB, free: 48.28 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00061/0.7983, allocations: 16.06 kB / 1.035 GB, free: 48.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007497/0.7991, allocations: 199 kB / 1.036 GB, free: 48.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.8011, allocations: 0.7082 MB / 1.036 GB, free: 47.76 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.803, allocations: 0.5952 MB / 1.037 GB, free: 47.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.8048, allocations: 1.574 MB / 1.038 GB, free: 46.84 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005439/0.8053, allocations: 370.1 kB / 1.039 GB, free: 46.71 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.8062, allocations: 0.5099 MB / 1.039 GB, free: 46.51 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005647/0.8068, allocations: 429 kB / 1.04 GB, free: 46.35 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.8069, allocations: 19.25 kB / 1.04 GB, free: 46.35 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.8081, allocations: 0.5732 MB / 1.04 GB, free: 46.17 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.8082, allocations: 105.9 kB / 1.04 GB, free: 46.12 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.8085, allocations: 275.7 kB / 1.041 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008182/0.8093, allocations: 0.5793 MB / 1.041 GB, free: 45.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8094, allocations: 1.375 kB / 1.041 GB, free: 45.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8094, allocations: 0 / 1.041 GB, free: 45.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.8094, allocations: 0 / 1.041 GB, free: 45.8 MB / 0.7136 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.001412/0.8108, allocations: 0.8425 MB / 1.042 GB, free: 45.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.8109, allocations: 9.594 kB / 1.042 GB, free: 45.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.811, allocations: 63.25 kB / 1.042 GB, free: 45.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.8116, allocations: 446.3 kB / 1.043 GB, free: 44.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.8117, allocations: 31.41 kB / 1.043 GB, free: 44.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.8117, allocations: 36.5 kB / 1.043 GB, free: 44.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.8124, allocations: 318.8 kB / 1.043 GB, free: 44.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.8124, allocations: 1.406 kB / 1.043 GB, free: 44.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.8125, allocations: 16.75 kB / 1.043 GB, free: 44.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.8125, allocations: 5.031 kB / 1.043 GB, free: 44.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.8132, allocations: 279.8 kB / 1.043 GB, free: 44.57 MB / 0.7136 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.002166/0.8153, allocations: 1.353 MB / 1.045 GB, free: 43.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.8159, allocations: 274.1 kB / 1.045 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.8163, allocations: 141.8 kB / 1.045 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004135/0.8167, allocations: 0.4973 MB / 1.045 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.8167, allocations: 40.09 kB / 1.045 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.8167, allocations: 0.9375 kB / 1.045 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.001887/0.8186, allocations: 0.5894 MB / 1.046 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.8187, allocations: 54.88 kB / 1.046 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/0.8193, allocations: 467.6 kB / 1.047 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.8194, allocations: 35.02 kB / 1.047 GB, free: 42.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.8196, allocations: 238.5 kB / 1.047 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/0.8197, allocations: 88.53 kB / 1.047 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.8197, allocations: 6.031 kB / 1.047 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.8198, allocations: 356.2 kB / 1.047 GB, free: 41.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.8202, allocations: 127.4 kB / 1.047 GB, free: 41.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.8206, allocations: 190.3 kB / 1.048 GB, free: 41.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.8212, allocations: 289.8 kB / 1.048 GB, free: 41.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8212, allocations: 0 / 1.048 GB, free: 41.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001006/0.8222, allocations: 430.9 kB / 1.048 GB, free: 41.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.8223, allocations: 103.7 kB / 1.048 GB, free: 41.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.8223, allocations: 4 kB / 1.048 GB, free: 41.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.8227, allocations: 59.3 kB / 1.048 GB, free: 41.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.8231, allocations: 68.34 kB / 1.048 GB, free: 41.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000433/0.8235, allocations: 0.5706 MB / 1.049 GB, free: 40.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.8241, allocations: 67.95 kB / 1.049 GB, free: 40.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.8241, allocations: 22.42 kB / 1.049 GB, free: 40.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.8241, allocations: 3.188 kB / 1.049 GB, free: 40.61 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007593/0.8249, allocations: 316.3 kB / 1.049 GB, free: 40.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8249, allocations: 5.422 kB / 1.049 GB, free: 40.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.8249, allocations: 2.75 kB / 1.049 GB, free: 40.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.8253, allocations: 81.28 kB / 1.049 GB, free: 40.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8254, allocations: 5.641 kB / 1.049 GB, free: 40.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.8258, allocations: 69.38 kB / 1.05 GB, free: 40.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.8258, allocations: 10.67 kB / 1.05 GB, free: 40.48 MB / 0.7136 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.0002457/0.8261, allocations: 253.2 kB / 1.05 GB, free: 40.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.8261, allocations: 49.36 kB / 1.05 GB, free: 40.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.8271, allocations: 439.8 kB / 1.05 GB, free: 40.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.8272, allocations: 5.969 kB / 1.05 GB, free: 40.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.8272, allocations: 6.688 kB / 1.05 GB, free: 40.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.8272, allocations: 1.312 kB / 1.05 GB, free: 40.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.8289, allocations: 0.9624 MB / 1.051 GB, free: 39.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.8289, allocations: 3.812 kB / 1.051 GB, free: 39.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.8292, allocations: 55.53 kB / 1.051 GB, free: 39.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/0.8294, allocations: 39.2 kB / 1.051 GB, free: 39.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.8294, allocations: 13.62 kB / 1.051 GB, free: 39.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003331/0.8297, allocations: 0.5521 MB / 1.052 GB, free: 38.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8298, allocations: 5.25 kB / 1.052 GB, free: 38.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.8306, allocations: 0.5102 MB / 1.052 GB, free: 38.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.8308, allocations: 160.8 kB / 1.053 GB, free: 38.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.8309, allocations: 9.656 kB / 1.053 GB, free: 38.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.8312, allocations: 44.59 kB / 1.053 GB, free: 38.47 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/0.8313, allocations: 22.22 kB / 1.053 GB, free: 38.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.8314, allocations: 17.05 kB / 1.053 GB, free: 38.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004503/0.8318, allocations: 320.1 kB / 1.053 GB, free: 38.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8318, allocations: 3.938 kB / 1.053 GB, free: 38.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009014/0.8327, allocations: 244.8 kB / 1.053 GB, free: 38.26 MB / 0.7136 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.0006297/0.8334, allocations: 267.2 kB / 1.053 GB, free: 38.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.8346, allocations: 491.5 kB / 1.054 GB, free: 38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8346, allocations: 0 / 1.054 GB, free: 38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.835, allocations: 177.8 kB / 1.054 GB, free: 37.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.8365, allocations: 254.6 kB / 1.054 GB, free: 37.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.8381, allocations: 0.9756 MB / 1.055 GB, free: 37.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.8384, allocations: 0.8607 MB / 1.056 GB, free: 36.58 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004562/0.8389, allocations: 114.5 kB / 1.056 GB, free: 36.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.924e-05/0.839, allocations: 40.8 kB / 1.056 GB, free: 36.56 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/0.839, allocations: 0.6562 kB / 1.056 GB, free: 36.56 MB / 0.7136 GB Notification: Performance of Templates: time 0.01878/0.8578, allocations: 9.756 MB / 1.066 GB, free: 35.95 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)