Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") 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.86/1.86, allocations: 297.4 MB / 312.6 MB, free: 2.91 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.001149/0.001149, allocations: 198 kB / 382.3 MB, free: 14.8 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.445/1.445, allocations: 225.7 MB / 0.6617 GB, free: 7.219 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.0009465/0.0009467, allocations: 98.94 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 11.98 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6338/0.6342, allocations: 119.2 MB / 1.022 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01487/0.6491, allocations: 15.31 MB / 1.037 GB, free: 46.81 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.6609, allocations: 10.98 MB / 1.048 GB, free: 37.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008545/0.6618, allocations: 14.5 kB / 1.048 GB, free: 37.72 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.6628, allocations: 226.2 kB / 1.048 GB, free: 37.6 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.6643, allocations: 0.5507 MB / 1.049 GB, free: 37.28 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.6661, allocations: 0.6409 MB / 1.049 GB, free: 36.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0015/0.6676, allocations: 1.299 MB / 1.051 GB, free: 36.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.668, allocations: 287.4 kB / 1.051 GB, free: 36.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006129/0.6686, allocations: 384.1 kB / 1.051 GB, free: 36.22 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.669, allocations: 315.3 kB / 1.052 GB, free: 36.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.6691, allocations: 13.75 kB / 1.052 GB, free: 36.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.6702, allocations: 0.5789 MB / 1.052 GB, free: 35.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.6703, allocations: 79.09 kB / 1.052 GB, free: 35.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.6705, allocations: 236 kB / 1.052 GB, free: 35.72 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.6714, allocations: 0.7331 MB / 1.053 GB, free: 35.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6714, allocations: 4 kB / 1.053 GB, free: 35.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6714, allocations: 0 / 1.053 GB, free: 35.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.6714, allocations: 0 / 1.053 GB, free: 35.47 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009496/0.6724, allocations: 0.7371 MB / 1.054 GB, free: 34.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.6725, allocations: 9.594 kB / 1.054 GB, free: 34.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.021e-05/0.6725, allocations: 60.97 kB / 1.054 GB, free: 34.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.673, allocations: 409.6 kB / 1.054 GB, free: 34.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.6731, allocations: 18.12 kB / 1.054 GB, free: 34.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.6731, allocations: 28.34 kB / 1.054 GB, free: 34.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.6735, allocations: 214.9 kB / 1.055 GB, free: 34.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.6735, allocations: 0 / 1.055 GB, free: 34.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.6736, allocations: 13.22 kB / 1.055 GB, free: 34.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.6736, allocations: 12.12 kB / 1.055 GB, free: 34.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.6739, allocations: 172.2 kB / 1.055 GB, free: 34.37 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.001385/0.6753, allocations: 0.9536 MB / 1.056 GB, free: 33.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.6756, allocations: 137.6 kB / 1.056 GB, free: 33.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.6758, allocations: 79.75 kB / 1.056 GB, free: 33.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.676, allocations: 336.8 kB / 1.056 GB, free: 33.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.676, allocations: 30.56 kB / 1.056 GB, free: 33.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.676, allocations: 4 kB / 1.056 GB, free: 33.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005374/0.6765, allocations: 252.4 kB / 1.056 GB, free: 33.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.6766, allocations: 54.66 kB / 1.057 GB, free: 33.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.677, allocations: 469.3 kB / 1.057 GB, free: 32.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.677, allocations: 33.05 kB / 1.057 GB, free: 32.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.6772, allocations: 231 kB / 1.057 GB, free: 32.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.6772, allocations: 47.45 kB / 1.057 GB, free: 32.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.6772, allocations: 0 / 1.057 GB, free: 32.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.6773, allocations: 355.5 kB / 1.058 GB, free: 32.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.6775, allocations: 73.73 kB / 1.058 GB, free: 32.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.6777, allocations: 162.2 kB / 1.058 GB, free: 32.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.678, allocations: 168.2 kB / 1.058 GB, free: 32.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.678, allocations: 0 / 1.058 GB, free: 32.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004239/0.6784, allocations: 269.9 kB / 1.058 GB, free: 31.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.6785, allocations: 102 kB / 1.058 GB, free: 31.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6785, allocations: 0 / 1.058 GB, free: 31.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.6785, allocations: 3.938 kB / 1.058 GB, free: 31.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.6787, allocations: 61.48 kB / 1.058 GB, free: 31.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6788, allocations: 0 / 1.058 GB, free: 31.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.6791, allocations: 49.77 kB / 1.058 GB, free: 31.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.6791, allocations: 6.781 kB / 1.058 GB, free: 31.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.712e-06/0.6791, allocations: 4.172 kB / 1.058 GB, free: 31.79 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000353/0.6795, allocations: 190.9 kB / 1.059 GB, free: 31.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.6795, allocations: 3.438 kB / 1.059 GB, free: 31.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-06/0.6795, allocations: 0 / 1.059 GB, free: 31.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.6797, allocations: 52.2 kB / 1.059 GB, free: 31.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.6797, allocations: 0.5156 kB / 1.059 GB, free: 31.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.68, allocations: 50.47 kB / 1.059 GB, free: 31.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.68, allocations: 7.688 kB / 1.059 GB, free: 31.71 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.6802, allocations: 249.5 kB / 1.059 GB, free: 31.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.6802, allocations: 41.72 kB / 1.059 GB, free: 31.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.6807, allocations: 263.8 kB / 1.059 GB, free: 31.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6808, allocations: 0 / 1.059 GB, free: 31.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6808, allocations: 0 / 1.059 GB, free: 31.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6808, allocations: 5.219 kB / 1.059 GB, free: 31.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000816/0.6816, allocations: 0.7127 MB / 1.06 GB, free: 30.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6816, allocations: 3.281 kB / 1.06 GB, free: 30.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.6817, allocations: 32.58 kB / 1.06 GB, free: 30.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6818, allocations: 3.312 kB / 1.06 GB, free: 30.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.6818, allocations: 3.781 kB / 1.06 GB, free: 30.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6818, allocations: 7.25 kB / 1.06 GB, free: 30.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6818, allocations: 0 / 1.06 GB, free: 30.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.6822, allocations: 351.3 kB / 1.06 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.6823, allocations: 150.5 kB / 1.061 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.6823, allocations: 4 kB / 1.061 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.6825, allocations: 23.8 kB / 1.061 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.6826, allocations: 16.86 kB / 1.061 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.6826, allocations: 7 kB / 1.061 GB, free: 30.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003025/0.6829, allocations: 334.6 kB / 1.061 GB, free: 30.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6829, allocations: 0 / 1.061 GB, free: 30.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005921/0.6835, allocations: 200.1 kB / 1.061 GB, free: 30.27 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.6846, allocations: 0.534 MB / 1.062 GB, free: 30.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005877/0.6852, allocations: 281.1 kB / 1.062 GB, free: 29.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6852, allocations: 0 / 1.062 GB, free: 29.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.6854, allocations: 93.22 kB / 1.062 GB, free: 29.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.6866, allocations: 223.5 kB / 1.062 GB, free: 29.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.6876, allocations: 0.8537 MB / 1.063 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.6878, allocations: 0.8238 MB / 1.064 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.6881, allocations: 92.89 kB / 1.064 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.6882, allocations: 43.47 kB / 1.064 GB, free: 28.57 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.6882, allocations: 0 / 1.064 GB, free: 28.57 MB / 0.698 GB Notification: Performance of Templates: time 0.01347/0.7017, allocations: 8.356 MB / 1.072 GB, free: 27.87 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)