Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.676/1.676, allocations: 291.7 MB / 306.8 MB, free: 7.691 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.001028/0.001028, allocations: 193.5 kB / 375.4 MB, free: 5.113 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.389/1.389, allocations: 225.7 MB / 0.6538 GB, free: 13.59 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.0007902/0.0007903, allocations: 106.8 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004157, allocations: 13.19 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7198, allocations: 118.1 MB / 1.011 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02369/0.7436, allocations: 27.74 MB / 1.038 GB, free: 45.86 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.7588, allocations: 10.97 MB / 1.049 GB, free: 38.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.7612, allocations: 37.44 kB / 1.049 GB, free: 38.39 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.7624, allocations: 305.3 kB / 1.049 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.7667, allocations: 1.07 MB / 1.05 GB, free: 37.6 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.7697, allocations: 0.9619 MB / 1.051 GB, free: 37.16 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005417/0.7751, allocations: 3.524 MB / 1.054 GB, free: 35.81 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.778, allocations: 1.13 MB / 1.056 GB, free: 35.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003478/0.7815, allocations: 1.453 MB / 1.057 GB, free: 35.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.7846, allocations: 1.556 MB / 1.059 GB, free: 34.65 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005693/0.7852, allocations: 68.91 kB / 1.059 GB, free: 34.65 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.7878, allocations: 0.8555 MB / 1.059 GB, free: 34.42 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.7883, allocations: 331.2 kB / 1.06 GB, free: 34.29 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005922/0.7889, allocations: 250 kB / 1.06 GB, free: 34.16 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.7911, allocations: 1.522 MB / 1.061 GB, free: 33.85 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.7911, allocations: 0 / 1.061 GB, free: 33.85 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7911, allocations: 4.5 kB / 1.061 GB, free: 33.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.893e-05/0.7911, allocations: 7.938 kB / 1.061 GB, free: 33.84 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002319/0.7935, allocations: 1.311 MB / 1.063 GB, free: 32.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.7935, allocations: 8.594 kB / 1.063 GB, free: 32.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/0.7939, allocations: 152.4 kB / 1.063 GB, free: 32.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.7954, allocations: 0.8894 MB / 1.064 GB, free: 32.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.7955, allocations: 80.06 kB / 1.064 GB, free: 32.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.7957, allocations: 120.1 kB / 1.064 GB, free: 32.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.7967, allocations: 0.6381 MB / 1.065 GB, free: 32.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.7967, allocations: 4 kB / 1.065 GB, free: 32.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.7968, allocations: 21.78 kB / 1.065 GB, free: 32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.7968, allocations: 19.84 kB / 1.065 GB, free: 32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.7976, allocations: 472.3 kB / 1.065 GB, free: 31.85 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.004149/0.8018, allocations: 2.869 MB / 1.068 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.8023, allocations: 318.2 kB / 1.068 GB, free: 29.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.8026, allocations: 156.6 kB / 1.068 GB, free: 29.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.8029, allocations: 341.9 kB / 1.069 GB, free: 29.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.8029, allocations: 34.84 kB / 1.069 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.657e-06/0.8029, allocations: 3.531 kB / 1.069 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001156/0.8041, allocations: 0.5505 MB / 1.069 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.8041, allocations: 54.69 kB / 1.069 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/0.805, allocations: 0.8779 MB / 1.07 GB, free: 28.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.8051, allocations: 57.8 kB / 1.07 GB, free: 28.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.8054, allocations: 0.5311 MB / 1.071 GB, free: 28.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.8055, allocations: 112.8 kB / 1.071 GB, free: 28.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.8055, allocations: 11.41 kB / 1.071 GB, free: 28.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.8056, allocations: 335.9 kB / 1.071 GB, free: 27.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.8059, allocations: 175.5 kB / 1.071 GB, free: 27.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009591/0.8069, allocations: 1.142 MB / 1.072 GB, free: 26.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.8076, allocations: 447.8 kB / 1.073 GB, free: 26.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8076, allocations: 0 / 1.073 GB, free: 26.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001067/0.8087, allocations: 0.6422 MB / 1.073 GB, free: 26.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-05/0.8087, allocations: 152.9 kB / 1.074 GB, free: 26.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.8088, allocations: 0 / 1.074 GB, free: 26.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.8088, allocations: 6.344 kB / 1.074 GB, free: 26.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.8101, allocations: 246.6 kB / 1.074 GB, free: 26.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.8112, allocations: 2.97 MB / 1.077 GB, free: 23.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/0.8143, allocations: 0.7464 MB / 1.077 GB, free: 23.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/0.8144, allocations: 28.56 kB / 1.078 GB, free: 23.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.8144, allocations: 3.844 kB / 1.078 GB, free: 23.01 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008615/0.8153, allocations: 0.4994 MB / 1.078 GB, free: 22.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.8153, allocations: 0 / 1.078 GB, free: 22.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.852e-06/0.8153, allocations: 6.375 kB / 1.078 GB, free: 22.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.8159, allocations: 162.7 kB / 1.078 GB, free: 22.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.816, allocations: 6.438 kB / 1.078 GB, free: 22.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/0.819, allocations: 0.7404 MB / 1.079 GB, free: 22.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.8191, allocations: 20.59 kB / 1.079 GB, free: 22.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005946/0.8197, allocations: 333.1 kB / 1.079 GB, free: 22.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.8198, allocations: 93.16 kB / 1.079 GB, free: 22.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.8208, allocations: 0.528 MB / 1.08 GB, free: 22.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.8209, allocations: 3.219 kB / 1.08 GB, free: 22.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8209, allocations: 0 / 1.08 GB, free: 22.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.8209, allocations: 5.312 kB / 1.08 GB, free: 22.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.8228, allocations: 1.26 MB / 1.081 GB, free: 21.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.8228, allocations: 0 / 1.081 GB, free: 21.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.8233, allocations: 115.4 kB / 1.081 GB, free: 21.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.8233, allocations: 6.453 kB / 1.081 GB, free: 21.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.8233, allocations: 10.5 kB / 1.081 GB, free: 21.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008259/0.8242, allocations: 2.947 MB / 1.084 GB, free: 18.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8242, allocations: 7.031 kB / 1.084 GB, free: 18.56 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.8249, allocations: 0.5719 MB / 1.085 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.8252, allocations: 226.1 kB / 1.085 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.8253, allocations: 7.219 kB / 1.085 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.8258, allocations: 70.47 kB / 1.085 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.8259, allocations: 22.42 kB / 1.085 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.8259, allocations: 19.61 kB / 1.085 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006249/0.8265, allocations: 0.5888 MB / 1.086 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.423e-06/0.8266, allocations: 0 / 1.086 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001594/0.8282, allocations: 0.5346 MB / 1.086 GB, free: 17.66 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006695/0.8288, allocations: 337 kB / 1.086 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002397/0.8312, allocations: 0.8521 MB / 1.087 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8313, allocations: 0.9375 kB / 1.087 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.8318, allocations: 232.3 kB / 1.087 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/0.8343, allocations: 485.6 kB / 1.088 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.8367, allocations: 1.773 MB / 1.09 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.8372, allocations: 1.023 MB / 1.091 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001226/0.8384, allocations: 209.6 kB / 1.091 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.8386, allocations: 82.7 kB / 1.091 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.8386, allocations: 0 / 1.091 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.04258/0.8812, allocations: 23.85 MB / 1.114 GB, free: 13.88 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)