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.959/4.959, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 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.002538/0.002538, allocations: 355.2 kB / 0.6447 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 4.421/4.421, allocations: 410.7 MB / 1.113 GB, free: 5.961 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.001773/0.001773, allocations: 183.6 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005051, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.7884, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0339/0.8224, allocations: 28.52 MB / 1.489 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02163/0.844, allocations: 13.04 MB / 1.502 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.8456, allocations: 31.69 kB / 1.502 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.8475, allocations: 431.4 kB / 1.502 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004494/0.852, allocations: 1.128 MB / 1.503 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.008572/0.8606, allocations: 2.355 MB / 1.506 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003364/0.864, allocations: 2.397 MB / 1.508 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.8651, allocations: 0.5181 MB / 1.509 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.8672, allocations: 0.8043 MB / 1.509 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.8685, allocations: 0.6204 MB / 1.51 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.8687, allocations: 33.28 kB / 1.51 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.8699, allocations: 351.2 kB / 1.51 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.8701, allocations: 135.3 kB / 1.511 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.8704, allocations: 177.8 kB / 1.511 GB, free: 234 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.8714, allocations: 0.7013 MB / 1.511 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8714, allocations: 1.438 kB / 1.511 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.235e-06/0.8714, allocations: 4 kB / 1.511 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.8714, allocations: 0 / 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.002123/0.8736, allocations: 1.008 MB / 1.512 GB, free: 232.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.8736, allocations: 13 kB / 1.512 GB, free: 232.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.8738, allocations: 98.88 kB / 1.512 GB, free: 232.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.8748, allocations: 0.5266 MB / 1.513 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.8749, allocations: 41 kB / 1.513 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.875, allocations: 53.53 kB / 1.513 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.8762, allocations: 411.5 kB / 1.513 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.8762, allocations: 7.938 kB / 1.513 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.8763, allocations: 23.94 kB / 1.513 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.8763, allocations: 8 kB / 1.513 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009011/0.8772, allocations: 307.8 kB / 1.514 GB, free: 230.8 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.003828/0.8811, allocations: 1.856 MB / 1.516 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.8816, allocations: 173.8 kB / 1.516 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.8819, allocations: 81.94 kB / 1.516 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/0.8822, allocations: 345.6 kB / 1.516 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.8822, allocations: 39.34 kB / 1.516 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 2.815e-06/0.8823, allocations: 0 / 1.516 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.001082/0.8833, allocations: 318.6 kB / 1.517 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.8834, allocations: 51.41 kB / 1.517 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009448/0.8843, allocations: 0.6608 MB / 1.517 GB, free: 227 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.8844, allocations: 37.7 kB / 1.517 GB, free: 227 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.8847, allocations: 367.9 kB / 1.518 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.8847, allocations: 63.02 kB / 1.518 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.8848, allocations: 8 kB / 1.518 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.8849, allocations: 382.7 kB / 1.518 GB, free: 226.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.8853, allocations: 103.9 kB / 1.518 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.8857, allocations: 183.7 kB / 1.518 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.8862, allocations: 125.3 kB / 1.518 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8862, allocations: 0 / 1.518 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001049/0.8872, allocations: 387.6 kB / 1.519 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.8873, allocations: 110.7 kB / 1.519 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8873, allocations: 0 / 1.519 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.8873, allocations: 7.938 kB / 1.519 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.8892, allocations: 163.8 kB / 1.519 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.8904, allocations: 2.363 MB / 1.521 GB, free: 222.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.8914, allocations: 83.78 kB / 1.521 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.8915, allocations: 24.09 kB / 1.521 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.8915, allocations: 7.938 kB / 1.521 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008934/0.8924, allocations: 290.8 kB / 1.522 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8925, allocations: 0 / 1.522 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.8925, allocations: 4 kB / 1.522 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.8933, allocations: 107.8 kB / 1.522 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.8933, allocations: 4 kB / 1.522 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008467/0.8941, allocations: 83.58 kB / 1.522 GB, free: 222 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.8942, allocations: 11.98 kB / 1.522 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.0003271/0.8945, allocations: 261 kB / 1.522 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.8946, allocations: 67.06 kB / 1.522 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/0.8956, allocations: 311.6 kB / 1.523 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.8956, allocations: 4 kB / 1.523 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.8957, allocations: 0 / 1.523 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.8959, allocations: 180.1 kB / 1.523 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.896, allocations: 4 kB / 1.523 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/0.8967, allocations: 47.89 kB / 1.523 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.8968, allocations: 22.44 kB / 1.523 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001144/0.8979, allocations: 395.4 kB / 1.523 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001078/0.899, allocations: 0.5715 MB / 1.524 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002925/0.8993, allocations: 95.94 kB / 1.524 GB, free: 220 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006901/0.9, allocations: 463 kB / 1.524 GB, free: 219.6 MB / 0.8542 GB Notification: Performance of Backend: time 7.81e-07/0.9001, allocations: 4 kB / 1.524 GB, free: 219.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003297/0.9034, allocations: 0.6618 MB / 1.525 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.004251/0.9076, allocations: 1.974 MB / 1.527 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.03074/0.9384, allocations: 12.35 MB / 1.539 GB, free: 205 MB / 0.8542 GB