Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.769/1.769, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001087/0.001088, allocations: 176 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.545/1.545, allocations: 225.7 MB / 0.6743 GB, free: 12.62 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.0007949/0.0007951, allocations: 105.3 kB / 0.7935 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 8 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6341/0.6345, allocations: 121.3 MB / 1.041 GB, free: 59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01271/0.6473, allocations: 15.19 MB / 1.056 GB, free: 47.87 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006565/0.6539, allocations: 6.07 MB / 1.062 GB, free: 42.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006935/0.6547, allocations: 15.69 kB / 1.062 GB, free: 42.63 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000868/0.6555, allocations: 218.6 kB / 1.062 GB, free: 42.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.657, allocations: 0.5576 MB / 1.062 GB, free: 42.2 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.6589, allocations: 0.633 MB / 1.063 GB, free: 41.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.6604, allocations: 1.302 MB / 1.064 GB, free: 41.4 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004882/0.6609, allocations: 293.1 kB / 1.065 GB, free: 41.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000804/0.6617, allocations: 390.6 kB / 1.065 GB, free: 41.13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.6622, allocations: 313.1 kB / 1.065 GB, free: 41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.6623, allocations: 14.47 kB / 1.065 GB, free: 41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.6638, allocations: 0.5762 MB / 1.066 GB, free: 40.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.664, allocations: 91.5 kB / 1.066 GB, free: 40.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.6642, allocations: 236 kB / 1.066 GB, free: 40.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.6656, allocations: 0.7294 MB / 1.067 GB, free: 40.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.6656, allocations: 3.938 kB / 1.067 GB, free: 40.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/0.6656, allocations: 0 / 1.067 GB, free: 40.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.6656, allocations: 0 / 1.067 GB, free: 40.39 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.001264/0.6669, allocations: 0.7495 MB / 1.068 GB, free: 39.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.6669, allocations: 9.469 kB / 1.068 GB, free: 39.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.667, allocations: 57.22 kB / 1.068 GB, free: 39.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.6676, allocations: 420.1 kB / 1.068 GB, free: 39.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.6677, allocations: 25.12 kB / 1.068 GB, free: 39.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.6677, allocations: 27.81 kB / 1.068 GB, free: 39.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.6682, allocations: 213.6 kB / 1.068 GB, free: 39.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6682, allocations: 0 / 1.068 GB, free: 39.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.6682, allocations: 11.8 kB / 1.068 GB, free: 39.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.6682, allocations: 3.312 kB / 1.068 GB, free: 39.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.6686, allocations: 174.6 kB / 1.068 GB, free: 39.26 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.001532/0.6702, allocations: 0.9594 MB / 1.069 GB, free: 38.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.6704, allocations: 138.3 kB / 1.07 GB, free: 38.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.6706, allocations: 74.98 kB / 1.07 GB, free: 38.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/0.6708, allocations: 335 kB / 1.07 GB, free: 38.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.6709, allocations: 38.56 kB / 1.07 GB, free: 38.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.6709, allocations: 0 / 1.07 GB, free: 38.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005825/0.6714, allocations: 262.1 kB / 1.07 GB, free: 38.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.6715, allocations: 54.69 kB / 1.07 GB, free: 37.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.6719, allocations: 471.7 kB / 1.071 GB, free: 37.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.6719, allocations: 32.77 kB / 1.071 GB, free: 37.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.6721, allocations: 226.1 kB / 1.071 GB, free: 37.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.6721, allocations: 46.31 kB / 1.071 GB, free: 37.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.6721, allocations: 4 kB / 1.071 GB, free: 37.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.6722, allocations: 353 kB / 1.071 GB, free: 37.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.6724, allocations: 76.67 kB / 1.071 GB, free: 37.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.6726, allocations: 155.4 kB / 1.072 GB, free: 37.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.6729, allocations: 169.9 kB / 1.072 GB, free: 36.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6729, allocations: 0 / 1.072 GB, free: 36.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004496/0.6734, allocations: 265.9 kB / 1.072 GB, free: 36.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.6734, allocations: 107.6 kB / 1.072 GB, free: 36.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6734, allocations: 0 / 1.072 GB, free: 36.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.6734, allocations: 7.375 kB / 1.072 GB, free: 36.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.6737, allocations: 47.34 kB / 1.072 GB, free: 36.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.6737, allocations: 7.031 kB / 1.072 GB, free: 36.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.674, allocations: 41.81 kB / 1.072 GB, free: 36.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.674, allocations: 22.11 kB / 1.072 GB, free: 36.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/0.674, allocations: 2.844 kB / 1.072 GB, free: 36.69 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003561/0.6744, allocations: 187.9 kB / 1.072 GB, free: 36.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.6744, allocations: 7.156 kB / 1.072 GB, free: 36.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-06/0.6744, allocations: 5.859 kB / 1.072 GB, free: 36.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.6746, allocations: 52.03 kB / 1.072 GB, free: 36.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-06/0.6746, allocations: 3.844 kB / 1.072 GB, free: 36.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.6749, allocations: 40.34 kB / 1.072 GB, free: 36.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.6749, allocations: 9.234 kB / 1.073 GB, free: 36.6 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.0001336/0.6751, allocations: 245.1 kB / 1.073 GB, free: 36.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.6751, allocations: 41.78 kB / 1.073 GB, free: 36.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004673/0.6756, allocations: 262.6 kB / 1.073 GB, free: 36.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6756, allocations: 3 kB / 1.073 GB, free: 36.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6756, allocations: 0 / 1.073 GB, free: 36.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6756, allocations: 0 / 1.073 GB, free: 36.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/0.6765, allocations: 0.713 MB / 1.074 GB, free: 35.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6765, allocations: 3.031 kB / 1.074 GB, free: 35.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.6766, allocations: 27.77 kB / 1.074 GB, free: 35.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6766, allocations: 3 kB / 1.074 GB, free: 35.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.6766, allocations: 10.27 kB / 1.074 GB, free: 35.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6766, allocations: 4 kB / 1.074 GB, free: 35.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6767, allocations: 11.06 kB / 1.074 GB, free: 35.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.677, allocations: 355.3 kB / 1.074 GB, free: 35.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.6772, allocations: 141.9 kB / 1.074 GB, free: 35.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.6772, allocations: 3.703 kB / 1.074 GB, free: 35.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.6775, allocations: 22.62 kB / 1.074 GB, free: 35.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.6775, allocations: 21.05 kB / 1.074 GB, free: 35.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.6776, allocations: 6.281 kB / 1.074 GB, free: 35.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002804/0.6778, allocations: 332.5 kB / 1.075 GB, free: 35.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6779, allocations: 7.875 kB / 1.075 GB, free: 35.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007383/0.6786, allocations: 199.7 kB / 1.075 GB, free: 35.16 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.001011/0.6796, allocations: 0.5287 MB / 1.075 GB, free: 34.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005618/0.6802, allocations: 281.2 kB / 1.076 GB, free: 34.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6802, allocations: 0 / 1.076 GB, free: 34.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.6804, allocations: 96.84 kB / 1.076 GB, free: 34.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.6816, allocations: 224.8 kB / 1.076 GB, free: 34.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009578/0.6825, allocations: 0.8494 MB / 1.077 GB, free: 34.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.6828, allocations: 0.8318 MB / 1.078 GB, free: 33.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002888/0.6831, allocations: 83.7 kB / 1.078 GB, free: 33.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.6832, allocations: 40.22 kB / 1.078 GB, free: 33.46 MB / 0.698 GB Notification: Performance of SimCode: time 3.9e-07/0.6832, allocations: 0 / 1.078 GB, free: 33.46 MB / 0.698 GB Notification: Performance of Templates: time 0.01455/0.6977, allocations: 8.289 MB / 1.086 GB, free: 32.75 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)