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.002612/0.002612, allocations: 354.5 kB / 16.58 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.338/1.338, allocations: 165.8 MB / 183.1 MB, free: 5.91 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.975/3.975, allocations: 410.7 MB / 0.6001 GB, free: 37.12 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00189/0.00189, allocations: 195.1 kB / 0.6668 GB, free: 1.832 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004861, allocations: 11.91 kB / 0.7429 GB, free: 73.84 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1337, allocations: 67.46 MB / 0.8087 GB, free: 17.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.42, allocations: 357.1 MB / 1.157 GB, free: 142.5 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/1.421, allocations: 94.75 kB / 1.158 GB, free: 142.5 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.165/2.585, allocations: 235 MB / 1.387 GB, free: 145.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.495e-06/2.585, allocations: 0 / 1.387 GB, free: 145.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.988e-05/2.586, allocations: 26.12 kB / 1.387 GB, free: 145.2 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003039/2.589, allocations: 1.08 MB / 1.388 GB, free: 144.6 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/2.589, allocations: 10.06 kB / 1.388 GB, free: 144.6 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/2.589, allocations: 84.38 kB / 1.388 GB, free: 144.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/2.59, allocations: 0.5166 MB / 1.389 GB, free: 144.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/2.59, allocations: 39.92 kB / 1.389 GB, free: 144.3 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/2.59, allocations: 50.34 kB / 1.389 GB, free: 144.3 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/2.592, allocations: 0.6312 MB / 1.389 GB, free: 144.1 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/2.592, allocations: 6.969 kB / 1.389 GB, free: 144.1 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/2.592, allocations: 17.97 kB / 1.389 GB, free: 144.1 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/2.592, allocations: 11.66 kB / 1.389 GB, free: 144.1 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/2.594, allocations: 0.5074 MB / 1.39 GB, free: 144.1 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.00521/2.599, allocations: 3.203 MB / 1.393 GB, free: 141.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/2.6, allocations: 346.1 kB / 1.393 GB, free: 141.8 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000781/2.601, allocations: 237.2 kB / 1.394 GB, free: 141.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/2.601, allocations: 349.3 kB / 1.394 GB, free: 141.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/2.602, allocations: 40.06 kB / 1.394 GB, free: 141.4 MB / 0.573 GB Notification: Performance of pre-optimization done (n=38): time 2.886e-06/2.602, allocations: 0 / 1.394 GB, free: 141.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=38): time 0.003451/2.605, allocations: 0.833 MB / 1.395 GB, free: 141.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/2.605, allocations: 55.38 kB / 1.395 GB, free: 141.2 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/2.606, allocations: 0.5782 MB / 1.395 GB, free: 141 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.071e-05/2.606, allocations: 33.08 kB / 1.395 GB, free: 141 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/2.606, allocations: 324.5 kB / 1.396 GB, free: 140.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/2.606, allocations: 143.3 kB / 1.396 GB, free: 140.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/2.607, allocations: 10.41 kB / 1.396 GB, free: 140.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001163/2.607, allocations: 368.6 kB / 1.396 GB, free: 140.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008126/2.607, allocations: 217.4 kB / 1.396 GB, free: 140.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009194/2.608, allocations: 403.9 kB / 1.397 GB, free: 140.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/2.609, allocations: 255 kB / 1.397 GB, free: 140.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/2.609, allocations: 0 / 1.397 GB, free: 140.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002362/2.612, allocations: 0.7227 MB / 1.398 GB, free: 140.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/2.612, allocations: 223.9 kB / 1.398 GB, free: 139.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/2.612, allocations: 6.984 kB / 1.398 GB, free: 139.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009214/2.613, allocations: 150.8 kB / 1.398 GB, free: 139.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/2.614, allocations: 157.1 kB / 1.398 GB, free: 139.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008787/2.615, allocations: 0.6307 MB / 1.399 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/2.616, allocations: 115.7 kB / 1.399 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/2.616, allocations: 34.84 kB / 1.399 GB, free: 139.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/2.616, allocations: 3.25 kB / 1.399 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001995/2.618, allocations: 0.6109 MB / 1.4 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/2.618, allocations: 6.594 kB / 1.4 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/2.618, allocations: 7.406 kB / 1.4 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/2.62, allocations: 160.9 kB / 1.4 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/2.62, allocations: 11.36 kB / 1.4 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/2.621, allocations: 99.33 kB / 1.4 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.89e-05/2.621, allocations: 35.23 kB / 1.4 GB, free: 139.3 MB / 0.573 GB 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.0004543/2.621, allocations: 266.8 kB / 1.4 GB, free: 139.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/2.621, allocations: 65.67 kB / 1.4 GB, free: 139.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/2.624, allocations: 0.6611 MB / 1.401 GB, free: 139 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/2.624, allocations: 3.438 kB / 1.401 GB, free: 139 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/2.624, allocations: 3.344 kB / 1.401 GB, free: 139 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/2.624, allocations: 0 / 1.401 GB, free: 139 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/2.628, allocations: 1.391 MB / 1.402 GB, free: 138.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/2.628, allocations: 0 / 1.402 GB, free: 138.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/2.628, allocations: 94.41 kB / 1.402 GB, free: 138.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006621/2.629, allocations: 138.4 kB / 1.403 GB, free: 138.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.743e-05/2.629, allocations: 10.45 kB / 1.403 GB, free: 138.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008036/2.63, allocations: 0.6369 MB / 1.403 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/2.63, allocations: 7.062 kB / 1.403 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/2.632, allocations: 0.714 MB / 1.404 GB, free: 137.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/2.632, allocations: 203.1 kB / 1.404 GB, free: 137.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/2.633, allocations: 7.469 kB / 1.404 GB, free: 137.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/2.633, allocations: 62.7 kB / 1.404 GB, free: 137.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/2.634, allocations: 33.92 kB / 1.404 GB, free: 137.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/2.634, allocations: 18.52 kB / 1.404 GB, free: 137.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006054/2.634, allocations: 396.3 kB / 1.405 GB, free: 137.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.01e-07/2.634, allocations: 0 / 1.405 GB, free: 137.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001663/2.636, allocations: 408 kB / 1.405 GB, free: 137.6 MB / 0.573 GB 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.001008/2.637, allocations: 423.6 kB / 1.405 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00319/2.64, allocations: 0.9115 MB / 1.406 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.64, allocations: 0 / 1.406 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/2.641, allocations: 297.2 kB / 1.407 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/2.644, allocations: 268.3 kB / 1.407 GB, free: 137.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/2.646, allocations: 1.271 MB / 1.408 GB, free: 136.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/2.647, allocations: 0.9223 MB / 1.409 GB, free: 136.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009935/2.648, allocations: 147.5 kB / 1.409 GB, free: 136.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/2.648, allocations: 57.58 kB / 1.409 GB, free: 136.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.273e-06/2.648, allocations: 5.344 kB / 1.409 GB, free: 136.1 MB / 0.573 GB Notification: Performance of Templates: time 0.03359/2.682, allocations: 13.08 MB / 1.422 GB, free: 135.4 MB / 0.573 GB