Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.579/4.579, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002173/0.002172, allocations: 365.7 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.87/3.87, allocations: 410.7 MB / 1.112 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003067/0.003067, allocations: 179.1 kB / 1.225 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004641, allocations: 12 kB / 1.348 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.5659, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02647/0.5924, allocations: 28.52 MB / 1.489 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.6092, allocations: 13.03 MB / 1.501 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.6105, allocations: 27.75 kB / 1.501 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.6117, allocations: 443.7 kB / 1.502 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.6152, allocations: 1.127 MB / 1.503 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006927/0.6222, allocations: 2.357 MB / 1.505 GB, free: 239 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002551/0.6247, allocations: 2.389 MB / 1.507 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.6255, allocations: 0.5248 MB / 1.508 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.6269, allocations: 0.7924 MB / 1.509 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007893/0.6277, allocations: 0.6248 MB / 1.509 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.6278, allocations: 33.09 kB / 1.509 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009148/0.6287, allocations: 359.2 kB / 1.51 GB, free: 234.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.6289, allocations: 127.4 kB / 1.51 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.629, allocations: 186.6 kB / 1.51 GB, free: 234 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007571/0.6298, allocations: 0.7013 MB / 1.511 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6298, allocations: 4 kB / 1.511 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6299, allocations: 0 / 1.511 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.6299, allocations: 0.8438 kB / 1.511 GB, free: 233.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001506/0.6314, allocations: 1 MB / 1.512 GB, free: 232.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.6314, allocations: 13.97 kB / 1.512 GB, free: 232.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.6316, allocations: 94.88 kB / 1.512 GB, free: 232.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/0.6324, allocations: 0.5278 MB / 1.512 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.6325, allocations: 41 kB / 1.512 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.6326, allocations: 59.94 kB / 1.512 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.6334, allocations: 412.2 kB / 1.513 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.6334, allocations: 0 / 1.513 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.6335, allocations: 28.78 kB / 1.513 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.6335, allocations: 12 kB / 1.513 GB, free: 231 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008087/0.6343, allocations: 310 kB / 1.513 GB, free: 230.7 MB / 0.8542 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.002801/0.6371, allocations: 1.854 MB / 1.515 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.6375, allocations: 171.5 kB / 1.515 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.6378, allocations: 88.81 kB / 1.515 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.638, allocations: 339.8 kB / 1.516 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.6381, allocations: 36.22 kB / 1.516 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 2.727e-06/0.6381, allocations: 0 / 1.516 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0008193/0.6389, allocations: 317.6 kB / 1.516 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.6389, allocations: 55.41 kB / 1.516 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007949/0.6397, allocations: 0.6685 MB / 1.517 GB, free: 227 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.6398, allocations: 29.7 kB / 1.517 GB, free: 227 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.64, allocations: 371.9 kB / 1.517 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.6401, allocations: 71 kB / 1.517 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.6401, allocations: 8.625 kB / 1.517 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6403, allocations: 372.1 kB / 1.517 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.6406, allocations: 104.5 kB / 1.518 GB, free: 226 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.6409, allocations: 182.6 kB / 1.518 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.6413, allocations: 125.1 kB / 1.518 GB, free: 225.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6413, allocations: 2.312 kB / 1.518 GB, free: 225.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008261/0.6421, allocations: 395.6 kB / 1.518 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.6422, allocations: 102.7 kB / 1.518 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.878e-06/0.6422, allocations: 0 / 1.518 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.6422, allocations: 4 kB / 1.518 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.6437, allocations: 171.8 kB / 1.518 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.6448, allocations: 2.364 MB / 1.521 GB, free: 222.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.6455, allocations: 91.72 kB / 1.521 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.6456, allocations: 19.98 kB / 1.521 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.089e-06/0.6456, allocations: 4 kB / 1.521 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007056/0.6463, allocations: 293.7 kB / 1.521 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.371e-06/0.6463, allocations: 0 / 1.521 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.947e-06/0.6463, allocations: 0 / 1.521 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.6469, allocations: 99.88 kB / 1.521 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.6469, allocations: 11.92 kB / 1.521 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.6475, allocations: 85.7 kB / 1.521 GB, free: 222 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.6475, allocations: 16.8 kB / 1.521 GB, free: 222 MB / 0.8542 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002929/0.6478, allocations: 261 kB / 1.522 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.6479, allocations: 71.06 kB / 1.522 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007563/0.6487, allocations: 306.4 kB / 1.522 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.614e-06/0.6487, allocations: 4 kB / 1.522 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.038e-06/0.6487, allocations: 0 / 1.522 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.838e-06/0.6488, allocations: 7.953 kB / 1.522 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.6502, allocations: 0.8991 MB / 1.523 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.196e-06/0.6502, allocations: 12.03 kB / 1.523 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.6506, allocations: 67.94 kB / 1.523 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.931e-06/0.6507, allocations: 5.5 kB / 1.523 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.6507, allocations: 4 kB / 1.523 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008218/0.6515, allocations: 2.356 MB / 1.525 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.565e-06/0.6515, allocations: 4.031 kB / 1.525 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.6522, allocations: 418.3 kB / 1.526 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.6524, allocations: 168.1 kB / 1.526 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/0.6525, allocations: 15.94 kB / 1.526 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.653, allocations: 51.86 kB / 1.526 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.6531, allocations: 15.97 kB / 1.526 GB, free: 217.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.6531, allocations: 8 kB / 1.526 GB, free: 217.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005831/0.6537, allocations: 463 kB / 1.526 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.09e-07/0.6538, allocations: 0 / 1.526 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001001/0.6548, allocations: 351.1 kB / 1.527 GB, free: 216.3 MB / 0.8542 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004724/0.6553, allocations: 241.2 kB / 1.527 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.6571, allocations: 0.489 MB / 1.527 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.563e-06/0.6571, allocations: 0 / 1.527 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.6576, allocations: 143.8 kB / 1.528 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.6598, allocations: 394.7 kB / 1.528 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.6618, allocations: 1.312 MB / 1.529 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.6622, allocations: 0.9449 MB / 1.53 GB, free: 212.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005798/0.6628, allocations: 119.5 kB / 1.53 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.6629, allocations: 47.44 kB / 1.53 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.829e-06/0.6629, allocations: 4 kB / 1.53 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.02596/0.6889, allocations: 12.09 MB / 1.542 GB, free: 201 MB / 0.8542 GB