Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 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.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.867/4.867, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 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.003079/0.003079, allocations: 365.7 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.255/4.255, 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.00265/0.00265, allocations: 181.6 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005055, allocations: 19.98 kB / 1.349 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7808, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01792/0.7988, allocations: 14.36 MB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.8114, allocations: 6.57 MB / 1.482 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.8122, allocations: 20.38 kB / 1.482 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.8136, allocations: 295.8 kB / 1.482 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.8161, allocations: 0.6089 MB / 1.483 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.007294/0.8234, allocations: 1.917 MB / 1.485 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.8252, allocations: 1.118 MB / 1.486 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.8258, allocations: 261.1 kB / 1.486 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007587/0.8266, allocations: 343.4 kB / 1.486 GB, free: 259 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.8271, allocations: 304.2 kB / 1.487 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.8272, allocations: 16 kB / 1.487 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.8283, allocations: 371.1 kB / 1.487 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.8285, allocations: 84.23 kB / 1.487 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.8286, allocations: 105.5 kB / 1.487 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000803/0.8294, allocations: 467.8 kB / 1.488 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8295, allocations: 4 kB / 1.488 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8295, allocations: 0.5 kB / 1.488 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.8295, allocations: 1.625 kB / 1.488 GB, free: 257.6 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001394/0.8309, allocations: 0.7376 MB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.831, allocations: 15.56 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.8311, allocations: 59.3 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.8318, allocations: 385.6 kB / 1.489 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.8318, allocations: 25.03 kB / 1.489 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.8319, allocations: 28.72 kB / 1.489 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/0.8325, allocations: 216.3 kB / 1.489 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.8325, allocations: 1.531 kB / 1.489 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.8326, allocations: 11.98 kB / 1.489 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.8326, allocations: 4 kB / 1.489 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/0.8332, allocations: 171.4 kB / 1.489 GB, free: 255.9 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.002096/0.8353, allocations: 0.9506 MB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.8357, allocations: 136.9 kB / 1.49 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.836, allocations: 82.03 kB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.8363, allocations: 340.4 kB / 1.491 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.8363, allocations: 35.59 kB / 1.491 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.775e-06/0.8363, allocations: 0 / 1.491 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0009071/0.8372, allocations: 249.2 kB / 1.491 GB, free: 254 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.8373, allocations: 55.41 kB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/0.8379, allocations: 472.3 kB / 1.491 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.8379, allocations: 33.7 kB / 1.491 GB, free: 253.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.8381, allocations: 232.6 kB / 1.492 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.8382, allocations: 39.36 kB / 1.492 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.8382, allocations: 8 kB / 1.492 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.8383, allocations: 346.8 kB / 1.492 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.8386, allocations: 81.91 kB / 1.492 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.839, allocations: 150 kB / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.8393, allocations: 80.5 kB / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8393, allocations: 8.047 kB / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007625/0.8401, allocations: 263.6 kB / 1.493 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.8402, allocations: 111.8 kB / 1.493 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8402, allocations: 5 kB / 1.493 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.8402, allocations: 4 kB / 1.493 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.8407, allocations: 46.88 kB / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.8407, allocations: 4 kB / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.8413, allocations: 46.19 kB / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.8414, allocations: 11.98 kB / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.8414, allocations: 4 kB / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006306/0.842, allocations: 199.6 kB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.842, allocations: 3.953 kB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.842, allocations: 0 / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.8424, allocations: 43.97 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.8424, allocations: 4.812 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/0.843, allocations: 41.5 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.8431, allocations: 9.125 kB / 1.493 GB, free: 251.7 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 (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.000249/0.8433, allocations: 242.2 kB / 1.493 GB, free: 251.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.8434, allocations: 39.44 kB / 1.493 GB, free: 251.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008016/0.8442, allocations: 268.2 kB / 1.494 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.8442, allocations: 3.984 kB / 1.494 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.8443, allocations: 0 / 1.494 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.8444, allocations: 141.3 kB / 1.494 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.8445, allocations: 0 / 1.494 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.8449, allocations: 26.55 kB / 1.494 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.845, allocations: 11.97 kB / 1.494 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006695/0.8457, allocations: 284.8 kB / 1.494 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006327/0.8463, allocations: 413 kB / 1.494 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002701/0.8466, allocations: 81.95 kB / 1.494 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004561/0.8471, allocations: 322.9 kB / 1.495 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of Backend: time 8.91e-07/0.8471, allocations: 0.9062 kB / 1.495 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00271/0.8498, allocations: 0.7391 MB / 1.496 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.002981/0.8528, allocations: 1.386 MB / 1.497 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.02288/0.8757, allocations: 8.847 MB / 1.506 GB, free: 239.4 MB / 0.8542 GB