Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007577/0.007582, allocations: 358 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.711/1.711, allocations: 165.8 MB / 183.1 MB, free: 5.484 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.167/4.167, allocations: 410.8 MB / 0.6001 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001847/0.001846, allocations: 204 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006737/0.000674, allocations: 15.98 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5065, allocations: 67.45 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02062/0.5271, allocations: 14.35 MB / 0.8228 GB, free: 14.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.5408, allocations: 6.565 MB / 0.8292 GB, free: 7.824 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008639/0.5418, allocations: 19.81 kB / 0.8292 GB, free: 7.805 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.5434, allocations: 290.4 kB / 0.8295 GB, free: 7.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.5465, allocations: 0.6097 MB / 0.8301 GB, free: 6.906 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007996/0.5545, allocations: 1.923 MB / 0.8319 GB, free: 5.008 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.5566, allocations: 1.114 MB / 0.833 GB, free: 3.887 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006994/0.5574, allocations: 266.3 kB / 0.8333 GB, free: 3.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000958/0.5583, allocations: 342.4 kB / 0.8336 GB, free: 3.289 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.559, allocations: 302.7 kB / 0.8339 GB, free: 2.992 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.5591, allocations: 12 kB / 0.8339 GB, free: 2.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.5603, allocations: 367.2 kB / 0.8343 GB, free: 2.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.5605, allocations: 87.59 kB / 0.8343 GB, free: 2.535 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.5607, allocations: 105.5 kB / 0.8344 GB, free: 2.426 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009558/0.5617, allocations: 474.9 kB / 0.8349 GB, free: 1.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5617, allocations: 0 / 0.8349 GB, free: 1.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5617, allocations: 7.938 kB / 0.8349 GB, free: 1.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.5618, allocations: 0 / 0.8349 GB, free: 1.953 MB / 378.7 MB 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.00146/0.5632, allocations: 0.7355 MB / 0.8356 GB, free: 1.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5633, allocations: 8.031 kB / 0.8356 GB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.5634, allocations: 55.34 kB / 0.8357 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/0.5643, allocations: 385.1 kB / 0.836 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.5643, allocations: 24.42 kB / 0.8361 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.5644, allocations: 31.95 kB / 0.8361 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.565, allocations: 219.2 kB / 0.8363 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.5651, allocations: 0 / 0.8363 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.5651, allocations: 4 kB / 0.8363 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.5651, allocations: 8 kB / 0.8363 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/0.5658, allocations: 177.6 kB / 0.8365 GB, free: 236 kB / 378.7 MB 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.002718/0.5685, allocations: 0.9535 MB / 0.8374 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.569, allocations: 130.6 kB / 0.8375 GB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.5693, allocations: 84.75 kB / 0.8376 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/0.5697, allocations: 328.4 kB / 0.8379 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.5698, allocations: 42.55 kB / 0.838 GB, free: 14.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.905e-06/0.5698, allocations: 0 / 0.838 GB, free: 14.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001102/0.5709, allocations: 249.1 kB / 0.8382 GB, free: 14.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.571, allocations: 59.41 kB / 0.8383 GB, free: 14.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.5732, allocations: 473.8 kB / 0.8387 GB, free: 13.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.5734, allocations: 29.7 kB / 0.8388 GB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.5738, allocations: 232.6 kB / 0.839 GB, free: 13.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/0.5739, allocations: 43.36 kB / 0.839 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.574, allocations: 8 kB / 0.839 GB, free: 13.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.5742, allocations: 354.7 kB / 0.8394 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.5745, allocations: 71.95 kB / 0.8394 GB, free: 12.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.575, allocations: 149.1 kB / 0.8396 GB, free: 12.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.5754, allocations: 79.95 kB / 0.8397 GB, free: 12.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5754, allocations: 4 kB / 0.8397 GB, free: 12.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001011/0.5764, allocations: 256.9 kB / 0.8399 GB, free: 12.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.767e-05/0.5766, allocations: 122 kB / 0.84 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.5766, allocations: 3.984 kB / 0.84 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.5766, allocations: 4 kB / 0.84 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.5771, allocations: 43.97 kB / 0.8401 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.5771, allocations: 4 kB / 0.8401 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.5778, allocations: 47.75 kB / 0.8401 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.5779, allocations: 4.094 kB / 0.8401 GB, free: 12.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5779, allocations: 4 kB / 0.8401 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008273/0.5788, allocations: 191.8 kB / 0.8403 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5788, allocations: 11.92 kB / 0.8403 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.5788, allocations: 4 kB / 0.8403 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.5793, allocations: 43.98 kB / 0.8404 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.5793, allocations: 7.984 kB / 0.8404 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.5799, allocations: 39.81 kB / 0.8404 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.5801, allocations: 8 kB / 0.8404 GB, free: 11.94 MB / 394.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.5804, allocations: 246.1 kB / 0.8407 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.5805, allocations: 39.44 kB / 0.8407 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009801/0.5815, allocations: 269.1 kB / 0.8409 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5816, allocations: 0 / 0.8409 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5816, allocations: 0 / 0.8409 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.5819, allocations: 140.5 kB / 0.8411 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.5819, allocations: 7.938 kB / 0.8411 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.5824, allocations: 27.98 kB / 0.8411 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.5825, allocations: 7.984 kB / 0.8411 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008772/0.5833, allocations: 296.6 kB / 0.8414 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008971/0.5843, allocations: 413 kB / 0.8418 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003054/0.5846, allocations: 71.95 kB / 0.8419 GB, free: 10.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006209/0.5852, allocations: 326.9 kB / 0.8422 GB, free: 10.08 MB / 394.7 MB Notification: Performance of Backend: time 7.72e-07/0.5853, allocations: 0 / 0.8422 GB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.5884, allocations: 0.7242 MB / 0.8429 GB, free: 9.523 MB / 394.7 MB Notification: Performance of SimCode: time 0.003717/0.5922, allocations: 1.399 MB / 0.8443 GB, free: 8.086 MB / 394.7 MB Notification: Performance of Templates: time 0.02779/0.62, allocations: 8.842 MB / 0.8529 GB, free: 15.35 MB / 410.7 MB