Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.878/1.878, 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.001555/0.001555, allocations: 183.5 kB / 393.1 MB, free: 4.094 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.675/1.675, allocations: 225.7 MB / 0.6743 GB, free: 12.55 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.0008458/0.0008458, allocations: 92.05 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6257/0.6261, allocations: 121.3 MB / 1.041 GB, free: 58.93 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01501/0.6411, allocations: 17.15 MB / 1.058 GB, free: 46.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006229/0.6474, allocations: 6.608 MB / 1.064 GB, free: 40.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000545/0.648, allocations: 14.94 kB / 1.064 GB, free: 40.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007205/0.6487, allocations: 213 kB / 1.064 GB, free: 40.62 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.6504, allocations: 0.5545 MB / 1.065 GB, free: 40.3 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.6528, allocations: 0.6489 MB / 1.065 GB, free: 39.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.6545, allocations: 1.264 MB / 1.067 GB, free: 39.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005888/0.6551, allocations: 296.2 kB / 1.067 GB, free: 39.4 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008037/0.6559, allocations: 383.5 kB / 1.067 GB, free: 39.24 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.6563, allocations: 302.8 kB / 1.068 GB, free: 39.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.6564, allocations: 15.97 kB / 1.068 GB, free: 39.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.6576, allocations: 0.6617 MB / 1.068 GB, free: 38.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.6577, allocations: 123.9 kB / 1.068 GB, free: 38.86 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.658, allocations: 248 kB / 1.069 GB, free: 38.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.6592, allocations: 0.8473 MB / 1.069 GB, free: 38.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.6592, allocations: 0 / 1.069 GB, free: 38.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6592, allocations: 0 / 1.069 GB, free: 38.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.6592, allocations: 3.344 kB / 1.069 GB, free: 38.42 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009989/0.6602, allocations: 0.7984 MB / 1.07 GB, free: 37.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.6602, allocations: 9.344 kB / 1.07 GB, free: 37.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.6604, allocations: 61.67 kB / 1.07 GB, free: 37.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007454/0.6612, allocations: 444.3 kB / 1.071 GB, free: 37.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.6612, allocations: 30.36 kB / 1.071 GB, free: 37.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.6613, allocations: 28.09 kB / 1.071 GB, free: 37.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.6618, allocations: 286.2 kB / 1.071 GB, free: 37.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.6618, allocations: 0 / 1.071 GB, free: 37.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.6618, allocations: 10.88 kB / 1.071 GB, free: 37.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.6618, allocations: 6.562 kB / 1.071 GB, free: 37.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/0.6624, allocations: 208.2 kB / 1.071 GB, free: 37.18 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.002069/0.6644, allocations: 1.476 MB / 1.073 GB, free: 36.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.6648, allocations: 168.7 kB / 1.073 GB, free: 35.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.665, allocations: 90.41 kB / 1.073 GB, free: 35.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/0.6666, allocations: 1.284 MB / 1.074 GB, free: 34.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.6667, allocations: 41.97 kB / 1.074 GB, free: 34.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.6667, allocations: 4 kB / 1.074 GB, free: 34.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0005643/0.6673, allocations: 260.9 kB / 1.075 GB, free: 34.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.6673, allocations: 59.34 kB / 1.075 GB, free: 34.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.6678, allocations: 0.5767 MB / 1.075 GB, free: 34.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.6679, allocations: 29.7 kB / 1.075 GB, free: 34.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.668, allocations: 275.9 kB / 1.075 GB, free: 34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.6681, allocations: 48.91 kB / 1.075 GB, free: 33.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.6681, allocations: 7.031 kB / 1.075 GB, free: 33.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.6682, allocations: 356.9 kB / 1.076 GB, free: 33.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.6683, allocations: 80.69 kB / 1.076 GB, free: 33.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.6686, allocations: 213.9 kB / 1.076 GB, free: 33.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.6689, allocations: 241.1 kB / 1.076 GB, free: 33.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6689, allocations: 0 / 1.076 GB, free: 33.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000516/0.6695, allocations: 318.7 kB / 1.077 GB, free: 33.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/0.6695, allocations: 171.2 kB / 1.077 GB, free: 32.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6696, allocations: 0 / 1.077 GB, free: 32.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.6696, allocations: 6.094 kB / 1.077 GB, free: 32.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.6698, allocations: 59.03 kB / 1.077 GB, free: 32.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.6699, allocations: 10.02 kB / 1.077 GB, free: 32.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.6702, allocations: 62.27 kB / 1.077 GB, free: 32.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.6702, allocations: 12.34 kB / 1.077 GB, free: 32.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-06/0.6702, allocations: 3.062 kB / 1.077 GB, free: 32.93 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004221/0.6707, allocations: 249.6 kB / 1.077 GB, free: 32.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.6707, allocations: 3.188 kB / 1.077 GB, free: 32.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.6707, allocations: 3.188 kB / 1.077 GB, free: 32.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.6709, allocations: 70.06 kB / 1.077 GB, free: 32.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6709, allocations: 7.344 kB / 1.077 GB, free: 32.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.6712, allocations: 49.19 kB / 1.077 GB, free: 32.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.6712, allocations: 19.62 kB / 1.077 GB, free: 32.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.6714, allocations: 255.1 kB / 1.078 GB, free: 32.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.6715, allocations: 49.62 kB / 1.078 GB, free: 32.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.6719, allocations: 262.3 kB / 1.078 GB, free: 32.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.6719, allocations: 6.828 kB / 1.078 GB, free: 32.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.672, allocations: 3.938 kB / 1.078 GB, free: 32.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.672, allocations: 0 / 1.078 GB, free: 32.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/0.6728, allocations: 0.7492 MB / 1.079 GB, free: 31.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.6728, allocations: 4 kB / 1.079 GB, free: 31.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.6729, allocations: 41.45 kB / 1.079 GB, free: 31.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.6729, allocations: 3.344 kB / 1.079 GB, free: 31.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.6729, allocations: 3.344 kB / 1.079 GB, free: 31.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6729, allocations: 3.375 kB / 1.079 GB, free: 31.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.673, allocations: 3.281 kB / 1.079 GB, free: 31.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.6733, allocations: 360 kB / 1.079 GB, free: 31.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.6735, allocations: 152.3 kB / 1.079 GB, free: 31.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.6735, allocations: 7.562 kB / 1.079 GB, free: 31.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.6737, allocations: 20.78 kB / 1.079 GB, free: 31.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.6738, allocations: 17.36 kB / 1.079 GB, free: 31.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.6738, allocations: 7.828 kB / 1.079 GB, free: 31.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003885/0.6742, allocations: 413 kB / 1.08 GB, free: 31.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6742, allocations: 0 / 1.08 GB, free: 31.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007238/0.675, allocations: 236.8 kB / 1.08 GB, free: 31.32 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 (17): * Single equations (assignments): 15 * 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.001036/0.676, allocations: 0.5515 MB / 1.08 GB, free: 31.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006129/0.6766, allocations: 340.9 kB / 1.081 GB, free: 30.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6766, allocations: 0 / 1.081 GB, free: 30.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.6768, allocations: 97.06 kB / 1.081 GB, free: 30.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.678, allocations: 251.6 kB / 1.081 GB, free: 30.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.6791, allocations: 0.9832 MB / 1.082 GB, free: 30.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.6794, allocations: 0.8466 MB / 1.083 GB, free: 29.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003116/0.6797, allocations: 101 kB / 1.083 GB, free: 29.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.6798, allocations: 41.91 kB / 1.083 GB, free: 29.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/0.6798, allocations: 0 / 1.083 GB, free: 29.5 MB / 0.698 GB Notification: Performance of Templates: time 0.0177/0.6975, allocations: 9.836 MB / 1.093 GB, free: 28.72 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)