Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009373/0.009378, allocations: 107.2 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001165/0.001164, allocations: 177 kB / 15.95 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.062/2.062, allocations: 194.6 MB / 211.3 MB, free: 11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.213/2.213, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.000471, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5359/0.5364, allocations: 98.72 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01647/0.5529, allocations: 13.08 MB / 0.6961 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.5641, allocations: 6.291 MB / 0.7023 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007718/0.5649, allocations: 18.69 kB / 0.7023 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.5662, allocations: 334.9 kB / 0.7026 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.5684, allocations: 0.595 MB / 0.7032 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.006709/0.5751, allocations: 1.756 MB / 0.7049 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.5767, allocations: 0.6431 MB / 0.7055 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.5772, allocations: 274.2 kB / 0.7058 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008541/0.578, allocations: 347.1 kB / 0.7061 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.5785, allocations: 216.1 kB / 0.7063 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.5786, allocations: 14.16 kB / 0.7063 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.5797, allocations: 385.6 kB / 0.7067 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.5798, allocations: 76.73 kB / 0.7068 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.58, allocations: 105 kB / 0.7069 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007648/0.5808, allocations: 463 kB / 0.7073 GB, free: 288 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.439e-06/0.5808, allocations: 3.938 kB / 0.7073 GB, free: 284 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.159e-06/0.5808, allocations: 0 / 0.7073 GB, free: 284 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.492e-06/0.5808, allocations: 0 / 0.7073 GB, free: 284 kB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001284/0.5821, allocations: 0.7431 MB / 0.708 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5822, allocations: 13.58 kB / 0.7081 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.5823, allocations: 49.66 kB / 0.7081 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007407/0.5831, allocations: 387.7 kB / 0.7085 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.5831, allocations: 19.16 kB / 0.7085 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.5832, allocations: 27.41 kB / 0.7085 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.5838, allocations: 220.9 kB / 0.7087 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5838, allocations: 0 / 0.7087 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.5839, allocations: 6.125 kB / 0.7087 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.605e-06/0.5839, allocations: 5.219 kB / 0.7087 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.5844, allocations: 161.7 kB / 0.7089 GB, free: 15.02 MB / 0.5417 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.002182/0.5866, allocations: 0.9304 MB / 0.7098 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.5871, allocations: 126.3 kB / 0.7099 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003675/0.5874, allocations: 338.5 kB / 0.7102 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.5875, allocations: 40.81 kB / 0.7103 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=11): time 3.627e-06/0.5875, allocations: 4 kB / 0.7103 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0008008/0.5883, allocations: 214.5 kB / 0.7105 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.5884, allocations: 56.94 kB / 0.7105 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.5891, allocations: 456.5 kB / 0.711 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.5892, allocations: 31.48 kB / 0.711 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.5895, allocations: 226.4 kB / 0.7112 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.5895, allocations: 36.08 kB / 0.7113 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.5896, allocations: 5.219 kB / 0.7113 GB, free: 13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.5898, allocations: 347.6 kB / 0.7116 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.59, allocations: 69.67 kB / 0.7117 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.5904, allocations: 152.8 kB / 0.7118 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.5907, allocations: 107.1 kB / 0.7119 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.915e-06/0.5908, allocations: 0 / 0.7119 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007999/0.5916, allocations: 286.7 kB / 0.7122 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.5918, allocations: 291.7 kB / 0.7125 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.139e-06/0.5918, allocations: 3.938 kB / 0.7125 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5918, allocations: 2.375 kB / 0.7125 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.5921, allocations: 51.81 kB / 0.7125 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.5922, allocations: 5.266 kB / 0.7125 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.5926, allocations: 48.59 kB / 0.7126 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.5927, allocations: 11.39 kB / 0.7126 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.5927, allocations: 7.938 kB / 0.7126 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006174/0.5934, allocations: 213.6 kB / 0.7128 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.195e-06/0.5934, allocations: 0 / 0.7128 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.775e-06/0.5934, allocations: 2.531 kB / 0.7128 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.5937, allocations: 42.73 kB / 0.7128 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.547e-06/0.5937, allocations: 10.02 kB / 0.7128 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.5942, allocations: 39.38 kB / 0.7129 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.5942, allocations: 12.06 kB / 0.7129 GB, free: 11.76 MB / 0.5417 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): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003384/0.5946, allocations: 237 kB / 0.7131 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5947, allocations: 46.25 kB / 0.7132 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006806/0.5954, allocations: 228.8 kB / 0.7134 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.5954, allocations: 1.5 kB / 0.7134 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.007e-06/0.5954, allocations: 4.938 kB / 0.7134 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.586e-06/0.5954, allocations: 4 kB / 0.7134 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.5968, allocations: 0.6376 MB / 0.714 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.5968, allocations: 5.203 kB / 0.714 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.597, allocations: 27.8 kB / 0.714 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.597, allocations: 2.375 kB / 0.714 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.597, allocations: 5.281 kB / 0.7141 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.775e-06/0.597, allocations: 1 kB / 0.7141 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.673e-06/0.5971, allocations: 1.281 kB / 0.7141 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.5977, allocations: 338.8 kB / 0.7144 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.598, allocations: 135.8 kB / 0.7145 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/0.598, allocations: 5.406 kB / 0.7145 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.5984, allocations: 30.5 kB / 0.7145 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.5985, allocations: 17.69 kB / 0.7146 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.5985, allocations: 8.031 kB / 0.7146 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005316/0.5991, allocations: 320.7 kB / 0.7149 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.35e-07/0.5991, allocations: 0 / 0.7149 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009018/0.6, allocations: 193.8 kB / 0.7151 GB, free: 10.15 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/0.6012, allocations: 383.3 kB / 0.7154 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009937/0.6022, allocations: 366.4 kB / 0.7158 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.623e-06/0.6022, allocations: 0 / 0.7158 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.6025, allocations: 81.83 kB / 0.7159 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.604, allocations: 212.1 kB / 0.7161 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.6056, allocations: 0.7695 MB / 0.7168 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.6061, allocations: 0.8309 MB / 0.7176 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004794/0.6066, allocations: 74.59 kB / 0.7177 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.6067, allocations: 35.81 kB / 0.7177 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of SimCode: time 1.551e-06/0.6068, allocations: 0 / 0.7177 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of Templates: time 0.02156/0.6283, allocations: 7.95 MB / 0.7255 GB, free: 2.836 MB / 0.5417 GB