Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003646/0.003652, allocations: 357 kB / 16.58 MB, free: 5.57 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.452/1.452, allocations: 165.8 MB / 183.1 MB, free: 5.379 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 3.821/3.821, allocations: 410.8 MB / 0.6001 GB, free: 15.09 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.001818/0.001818, allocations: 206.1 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004582, allocations: 12 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4029, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.646, allocations: 361.6 MB / 1.162 GB, free: 152.8 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003727/1.646, allocations: 107.1 kB / 1.162 GB, free: 152.8 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.835/3.481, allocations: 427.5 MB / 1.579 GB, free: 12.81 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.683e-06/3.481, allocations: 0 / 1.579 GB, free: 12.81 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001069/3.481, allocations: 31.98 kB / 1.579 GB, free: 12.78 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003617/3.484, allocations: 1.507 MB / 1.581 GB, free: 11.22 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/3.485, allocations: 8.031 kB / 1.581 GB, free: 11.21 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/3.485, allocations: 154.5 kB / 1.581 GB, free: 11.06 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/3.487, allocations: 0.8289 MB / 1.582 GB, free: 10.18 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/3.487, allocations: 89.2 kB / 1.582 GB, free: 10.1 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/3.488, allocations: 120 kB / 1.582 GB, free: 9.98 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/3.489, allocations: 0.6395 MB / 1.583 GB, free: 9.312 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/3.489, allocations: 0 / 1.583 GB, free: 9.312 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/3.489, allocations: 24 kB / 1.583 GB, free: 9.289 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/3.489, allocations: 16 kB / 1.583 GB, free: 9.273 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/3.491, allocations: 468.9 kB / 1.583 GB, free: 8.816 MB / 0.573 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.00642/3.497, allocations: 3.078 MB / 1.586 GB, free: 5.582 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/3.498, allocations: 323.9 kB / 1.587 GB, free: 5.254 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/3.498, allocations: 161.3 kB / 1.587 GB, free: 5.094 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/3.499, allocations: 340.7 kB / 1.587 GB, free: 4.688 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/3.499, allocations: 50.78 kB / 1.587 GB, free: 4.629 MB / 0.573 GB Notification: Performance of pre-optimization done (n=33): time 2.414e-06/3.499, allocations: 0 / 1.587 GB, free: 4.629 MB / 0.573 GB Notification: Performance of matching and sorting (n=33): time 0.001895/3.501, allocations: 0.5603 MB / 1.588 GB, free: 4.062 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/3.501, allocations: 55.41 kB / 1.588 GB, free: 3.996 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/3.502, allocations: 0.883 MB / 1.589 GB, free: 3.094 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002059/3.502, allocations: 57.7 kB / 1.589 GB, free: 3.031 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005629/3.503, allocations: 0.5463 MB / 1.589 GB, free: 2.469 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/3.503, allocations: 114.4 kB / 1.589 GB, free: 2.355 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/3.503, allocations: 12 kB / 1.589 GB, free: 2.344 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.898e-05/3.503, allocations: 329.9 kB / 1.59 GB, free: 2.016 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/3.504, allocations: 185.2 kB / 1.59 GB, free: 1.836 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/3.506, allocations: 1.436 MB / 1.591 GB, free: 8 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4329/3.939, allocations: 308.9 kB / 1.591 GB, free: 101.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/3.939, allocations: 1.094 kB / 1.591 GB, free: 101.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002659/3.942, allocations: 0.6561 MB / 1.592 GB, free: 101.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/3.942, allocations: 157.1 kB / 1.592 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/3.942, allocations: 4.484 kB / 1.592 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/3.942, allocations: 5.469 kB / 1.592 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/3.945, allocations: 237.9 kB / 1.592 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/3.946, allocations: 2.963 MB / 1.595 GB, free: 98.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007288/3.954, allocations: 0.9179 MB / 1.596 GB, free: 98.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/3.954, allocations: 30.98 kB / 1.596 GB, free: 98.04 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/3.954, allocations: 6.203 kB / 1.596 GB, free: 98.04 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001786/3.956, allocations: 0.503 MB / 1.597 GB, free: 98.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/3.956, allocations: 4.625 kB / 1.597 GB, free: 98.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/3.956, allocations: 6.266 kB / 1.597 GB, free: 98.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/3.957, allocations: 162.2 kB / 1.597 GB, free: 98.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/3.957, allocations: 8.266 kB / 1.597 GB, free: 98.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006897/3.964, allocations: 0.9082 MB / 1.598 GB, free: 98.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/3.964, allocations: 28.14 kB / 1.598 GB, free: 98.02 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001091/3.966, allocations: 321.4 kB / 1.598 GB, free: 97.84 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/3.966, allocations: 102.3 kB / 1.598 GB, free: 97.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/3.968, allocations: 0.5384 MB / 1.599 GB, free: 97.74 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/3.968, allocations: 4.719 kB / 1.599 GB, free: 97.74 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/3.968, allocations: 0 / 1.599 GB, free: 97.74 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/3.968, allocations: 3.188 kB / 1.599 GB, free: 97.74 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/3.971, allocations: 1.268 MB / 1.6 GB, free: 97.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/3.971, allocations: 0 / 1.6 GB, free: 97.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009651/3.972, allocations: 136.3 kB / 1.6 GB, free: 97.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/3.972, allocations: 3.969 kB / 1.6 GB, free: 97.39 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/3.972, allocations: 12.36 kB / 1.6 GB, free: 97.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/3.974, allocations: 2.944 MB / 1.603 GB, free: 94.47 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/3.974, allocations: 0 / 1.603 GB, free: 94.47 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/3.975, allocations: 0.5811 MB / 1.604 GB, free: 94.25 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/3.976, allocations: 226 kB / 1.604 GB, free: 94.11 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/3.976, allocations: 12.53 kB / 1.604 GB, free: 94.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/3.977, allocations: 65.42 kB / 1.604 GB, free: 94.11 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/3.977, allocations: 31.09 kB / 1.604 GB, free: 94.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/3.977, allocations: 18.03 kB / 1.604 GB, free: 94.11 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00104/3.978, allocations: 0.5824 MB / 1.605 GB, free: 94 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.31e-07/3.978, allocations: 0 / 1.605 GB, free: 94 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002671/3.981, allocations: 0.6095 MB / 1.605 GB, free: 93.98 MB / 0.573 GB 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/3.982, allocations: 0.4993 MB / 1.606 GB, free: 93.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004687/3.987, allocations: 0.8734 MB / 1.606 GB, free: 93.86 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/3.987, allocations: 4.219 kB / 1.606 GB, free: 93.86 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/3.988, allocations: 244 kB / 1.607 GB, free: 93.86 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004957/3.993, allocations: 499.6 kB / 1.607 GB, free: 93.86 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/3.997, allocations: 1.777 MB / 1.609 GB, free: 92.98 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/3.998, allocations: 1.042 MB / 1.61 GB, free: 92.28 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002013/4, allocations: 201.1 kB / 1.61 GB, free: 92.27 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/4, allocations: 82.06 kB / 1.61 GB, free: 92.27 MB / 0.573 GB Notification: Performance of SimCode: time 1.242e-06/4, allocations: 0.5625 kB / 1.61 GB, free: 92.27 MB / 0.573 GB Notification: Performance of Templates: time 0.06869/4.069, allocations: 27.77 MB / 1.637 GB, free: 91.65 MB / 0.573 GB