Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002499/0.002502, allocations: 353.7 kB / 15.94 MB, free: 6.211 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.509/1.509, allocations: 165.8 MB / 182.5 MB, free: 5.414 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.192/4.192, allocations: 410.8 MB / 0.5995 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.001693/0.001693, allocations: 191.9 kB / 0.6662 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004768, allocations: 12 kB / 0.7423 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4109, allocations: 67.44 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0178/0.4287, allocations: 17.96 MB / 0.8257 GB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.4398, allocations: 7.585 MB / 0.8331 GB, free: 3.168 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008983/0.4408, allocations: 19.81 kB / 0.8331 GB, free: 3.148 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.4418, allocations: 322 kB / 0.8334 GB, free: 2.832 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.4448, allocations: 0.7883 MB / 0.8342 GB, free: 2.039 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00677/0.4516, allocations: 2.229 MB / 0.8364 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00278/0.4544, allocations: 1.668 MB / 0.838 GB, free: 14.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/0.4552, allocations: 415.2 kB / 0.8384 GB, free: 13.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.4563, allocations: 0.5017 MB / 0.8389 GB, free: 13.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008038/0.4571, allocations: 493.9 kB / 0.8394 GB, free: 12.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.4572, allocations: 28 kB / 0.8394 GB, free: 12.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.4587, allocations: 0.6001 MB / 0.84 GB, free: 12.13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.4589, allocations: 127.4 kB / 0.8401 GB, free: 12.01 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.4592, allocations: 153.3 kB / 0.8402 GB, free: 11.85 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.4604, allocations: 0.7442 MB / 0.841 GB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.146e-06/0.4605, allocations: 0 / 0.841 GB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.121e-06/0.4605, allocations: 0 / 0.841 GB, free: 11.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4605, allocations: 3.938 kB / 0.841 GB, free: 11.1 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002168/0.4627, allocations: 0.985 MB / 0.8419 GB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4627, allocations: 12.03 kB / 0.842 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.4629, allocations: 79.06 kB / 0.842 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/0.4639, allocations: 494.5 kB / 0.8425 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.464, allocations: 37 kB / 0.8425 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.4641, allocations: 48 kB / 0.8426 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.4656, allocations: 0.6333 MB / 0.8432 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.4656, allocations: 7.938 kB / 0.8432 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.4657, allocations: 20 kB / 0.8432 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.4657, allocations: 12 kB / 0.8432 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.4677, allocations: 0.5189 MB / 0.8437 GB, free: 8.117 MB / 394.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.005508/0.4732, allocations: 3.205 MB / 0.8469 GB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4742, allocations: 358.6 kB / 0.8472 GB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006973/0.475, allocations: 244.8 kB / 0.8474 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004451/0.4754, allocations: 352.4 kB / 0.8478 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4755, allocations: 34.56 kB / 0.8478 GB, free: 3.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 3.629e-06/0.4755, allocations: 0 / 0.8478 GB, free: 3.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=38): time 0.003084/0.4786, allocations: 0.862 MB / 0.8487 GB, free: 2.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.4787, allocations: 59.39 kB / 0.8487 GB, free: 2.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.4797, allocations: 0.5743 MB / 0.8493 GB, free: 2.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.908e-05/0.4798, allocations: 33.7 kB / 0.8493 GB, free: 2.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.4801, allocations: 332.4 kB / 0.8496 GB, free: 1.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.4803, allocations: 130.1 kB / 0.8497 GB, free: 1.621 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.4804, allocations: 12 kB / 0.8498 GB, free: 1.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.4806, allocations: 374.7 kB / 0.8501 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007253/0.4813, allocations: 217.2 kB / 0.8503 GB, free: 1.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008797/0.4822, allocations: 380 kB / 0.8507 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/0.4831, allocations: 256.7 kB / 0.8509 GB, free: 348 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.164e-06/0.4831, allocations: 0 / 0.8509 GB, free: 348 kB / 394.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002255/0.4853, allocations: 0.7307 MB / 0.8516 GB, free: 15.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002052/0.4856, allocations: 219.1 kB / 0.8519 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4856, allocations: 4 kB / 0.8519 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/0.4864, allocations: 152.8 kB / 0.852 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009476/0.4874, allocations: 155.8 kB / 0.8522 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009707/0.4884, allocations: 0.6302 MB / 0.8528 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008886/0.4893, allocations: 107.2 kB / 0.8529 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.4894, allocations: 35.98 kB / 0.8529 GB, free: 14.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4894, allocations: 7.938 kB / 0.8529 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001852/0.4913, allocations: 0.6194 MB / 0.8535 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4913, allocations: 8.031 kB / 0.8535 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.4914, allocations: 8 kB / 0.8535 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008964/0.4923, allocations: 159.7 kB / 0.8537 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.4923, allocations: 11.98 kB / 0.8537 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000799/0.4931, allocations: 91.5 kB / 0.8538 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/0.4932, allocations: 31.98 kB / 0.8538 GB, free: 13.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004643/0.4937, allocations: 272.7 kB / 0.8541 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.4939, allocations: 59.25 kB / 0.8541 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.496, allocations: 0.6768 MB / 0.8548 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.4961, allocations: 8 kB / 0.8548 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.297e-06/0.4961, allocations: 0 / 0.8548 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.4961, allocations: 7.938 kB / 0.8548 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.4997, allocations: 1.397 MB / 0.8562 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.4998, allocations: 4 kB / 0.8562 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.5003, allocations: 91.86 kB / 0.8563 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.5009, allocations: 124.9 kB / 0.8564 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.501, allocations: 15.98 kB / 0.8564 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009365/0.5019, allocations: 0.6304 MB / 0.857 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.835e-06/0.5019, allocations: 7.891 kB / 0.857 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.504, allocations: 0.7205 MB / 0.8577 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.5044, allocations: 196.1 kB / 0.8579 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.5045, allocations: 15.95 kB / 0.8579 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.5051, allocations: 59.88 kB / 0.858 GB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.5053, allocations: 31.95 kB / 0.858 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.095e-05/0.5053, allocations: 20 kB / 0.858 GB, free: 8.789 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006464/0.506, allocations: 391.1 kB / 0.8584 GB, free: 8.414 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.506, allocations: 0 / 0.8584 GB, free: 8.414 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001485/0.5075, allocations: 387.3 kB / 0.8588 GB, free: 8.035 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008026/0.5083, allocations: 315.2 kB / 0.8591 GB, free: 7.723 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003045/0.5114, allocations: 0.9059 MB / 0.86 GB, free: 6.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.256e-06/0.5114, allocations: 3.938 kB / 0.86 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.5125, allocations: 303.9 kB / 0.8603 GB, free: 6.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.5145, allocations: 273.8 kB / 0.8605 GB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.5172, allocations: 1.276 MB / 0.8618 GB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007198/0.5179, allocations: 0.9197 MB / 0.8627 GB, free: 3.988 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000908/0.5189, allocations: 147.8 kB / 0.8628 GB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.5191, allocations: 59.42 kB / 0.8629 GB, free: 3.789 MB / 410.7 MB Notification: Performance of SimCode: time 1.74e-06/0.5191, allocations: 0 / 0.8629 GB, free: 3.789 MB / 410.7 MB Notification: Performance of Templates: time 0.03081/0.55, allocations: 11.82 MB / 0.8744 GB, free: 8.109 MB / 426.7 MB