Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002426/0.002425, allocations: 356.5 kB / 15.94 MB, free: 6.207 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.497/1.497, allocations: 165.8 MB / 182.5 MB, free: 5.426 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.085/4.085, allocations: 410.8 MB / 0.5995 GB, free: 15.29 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.001698/0.001697, allocations: 200.1 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004566, allocations: 8 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3322, allocations: 67.45 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02856/0.3608, allocations: 28.51 MB / 0.836 GB, free: 224 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03387/0.3947, allocations: 13.04 MB / 0.8487 GB, free: 3.156 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.3971, allocations: 31.69 kB / 0.8488 GB, free: 3.125 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.4002, allocations: 437.3 kB / 0.8492 GB, free: 2.695 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00837/0.4086, allocations: 1.13 MB / 0.8503 GB, free: 1.559 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01686/0.4255, allocations: 2.356 MB / 0.8526 GB, free: 15.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007445/0.433, allocations: 2.389 MB / 0.8549 GB, free: 12.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.4351, allocations: 0.5186 MB / 0.8554 GB, free: 12.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.439, allocations: 0.7971 MB / 0.8562 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002564/0.4416, allocations: 0.6146 MB / 0.8568 GB, free: 10.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.442, allocations: 32 kB / 0.8568 GB, free: 10.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.4443, allocations: 359.2 kB / 0.8572 GB, free: 10.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.4447, allocations: 131.3 kB / 0.8573 GB, free: 10.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.4453, allocations: 177.3 kB / 0.8575 GB, free: 10.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.4475, allocations: 0.7051 MB / 0.8582 GB, free: 9.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.191e-06/0.4476, allocations: 0 / 0.8582 GB, free: 9.484 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.489e-06/0.4476, allocations: 0 / 0.8582 GB, free: 9.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.64e-05/0.4476, allocations: 0 / 0.8582 GB, free: 9.484 MB / 410.7 MB 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.003958/0.4516, allocations: 1.008 MB / 0.8591 GB, free: 8.426 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/0.4517, allocations: 11.97 kB / 0.8592 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/0.4521, allocations: 98.88 kB / 0.8592 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.4544, allocations: 0.5304 MB / 0.8598 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.4545, allocations: 41 kB / 0.8598 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.4548, allocations: 52 kB / 0.8599 GB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.457, allocations: 410.4 kB / 0.8602 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.4571, allocations: 4 kB / 0.8602 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.4572, allocations: 16 kB / 0.8603 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.4572, allocations: 8 kB / 0.8603 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.4581, allocations: 323.7 kB / 0.8606 GB, free: 6.906 MB / 410.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.003848/0.462, allocations: 1.85 MB / 0.8624 GB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.4625, allocations: 170.5 kB / 0.8625 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.4628, allocations: 95.39 kB / 0.8626 GB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.4632, allocations: 336.4 kB / 0.863 GB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.4633, allocations: 38.56 kB / 0.863 GB, free: 4.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 3.126e-06/0.4633, allocations: 4 kB / 0.863 GB, free: 4.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.001033/0.4643, allocations: 316.6 kB / 0.8633 GB, free: 3.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.4644, allocations: 51.41 kB / 0.8634 GB, free: 3.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.4656, allocations: 0.6725 MB / 0.864 GB, free: 3.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.4656, allocations: 33.7 kB / 0.864 GB, free: 3.082 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.466, allocations: 364.1 kB / 0.8644 GB, free: 2.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/0.4661, allocations: 63.02 kB / 0.8644 GB, free: 2.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.4662, allocations: 8 kB / 0.8645 GB, free: 2.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002568/0.4664, allocations: 378.9 kB / 0.8648 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.4668, allocations: 115.8 kB / 0.8649 GB, free: 2.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.4672, allocations: 170.3 kB / 0.8651 GB, free: 1.969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.4676, allocations: 133.5 kB / 0.8652 GB, free: 1.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.946e-06/0.4677, allocations: 0 / 0.8652 GB, free: 1.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001038/0.4687, allocations: 386.5 kB / 0.8656 GB, free: 1.457 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-05/0.4688, allocations: 114.7 kB / 0.8657 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.939e-06/0.4688, allocations: 0 / 0.8657 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.4689, allocations: 4 kB / 0.8657 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.4702, allocations: 167.8 kB / 0.8659 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.4721, allocations: 2.36 MB / 0.8682 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007969/0.4729, allocations: 87.69 kB / 0.8682 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.473, allocations: 12 kB / 0.8683 GB, free: 14.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.473, allocations: 4 kB / 0.8683 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000851/0.4739, allocations: 296 kB / 0.8685 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.92e-06/0.4739, allocations: 4 kB / 0.8685 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.4739, allocations: 4 kB / 0.8686 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.4745, allocations: 103.8 kB / 0.8687 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.492e-06/0.4746, allocations: 4 kB / 0.8687 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/0.4753, allocations: 87.16 kB / 0.8687 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.4753, allocations: 19.98 kB / 0.8688 GB, free: 14.11 MB / 426.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 (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.0004108/0.4757, allocations: 265 kB / 0.869 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.4759, allocations: 63.16 kB / 0.8691 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008954/0.4768, allocations: 324.6 kB / 0.8694 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.4768, allocations: 4 kB / 0.8694 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4768, allocations: 0 / 0.8694 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.064e-06/0.4769, allocations: 7.922 kB / 0.8694 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.4787, allocations: 0.8956 MB / 0.8703 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.4788, allocations: 3.953 kB / 0.8703 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.4793, allocations: 72.08 kB / 0.8703 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.876e-06/0.4793, allocations: 0 / 0.8703 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.4793, allocations: 8 kB / 0.8703 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.481, allocations: 2.356 MB / 0.8726 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.037e-06/0.481, allocations: 0 / 0.8726 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.4818, allocations: 407.6 kB / 0.873 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.4822, allocations: 180.1 kB / 0.8732 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.4823, allocations: 15.94 kB / 0.8732 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.4828, allocations: 51.84 kB / 0.8733 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.4829, allocations: 19.94 kB / 0.8733 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.483, allocations: 4 kB / 0.8733 GB, free: 9.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007964/0.4838, allocations: 463 kB / 0.8737 GB, free: 8.781 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.4838, allocations: 0 / 0.8737 GB, free: 8.781 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001158/0.485, allocations: 351.1 kB / 0.8741 GB, free: 8.438 MB / 426.7 MB 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.0005741/0.4855, allocations: 240.9 kB / 0.8743 GB, free: 8.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.4877, allocations: 0.4918 MB / 0.8748 GB, free: 7.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.732e-06/0.4877, allocations: 0 / 0.8748 GB, free: 7.707 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.4883, allocations: 151.5 kB / 0.8749 GB, free: 7.562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.4909, allocations: 377.2 kB / 0.8753 GB, free: 7.199 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.4936, allocations: 1.314 MB / 0.8766 GB, free: 5.848 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/0.4943, allocations: 0.9488 MB / 0.8775 GB, free: 4.871 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007018/0.495, allocations: 113.3 kB / 0.8776 GB, free: 4.758 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.4952, allocations: 55.42 kB / 0.8777 GB, free: 4.703 MB / 426.7 MB Notification: Performance of SimCode: time 1.638e-06/0.4952, allocations: 0 / 0.8777 GB, free: 4.703 MB / 426.7 MB Notification: Performance of Templates: time 0.03139/0.5266, allocations: 12.08 MB / 0.8895 GB, free: 8.82 MB / 442.7 MB