Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch") translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00706/0.007059, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7915/0.7915, allocations: 135.2 MB / 151.1 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 223.2 MB / 406.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 99 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 19.94 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5376, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9534/1.491, allocations: 364 MB / 1.005 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/1.491, allocations: 110.5 kB / 1.005 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.164/3.656, allocations: 0.5304 GB / 1.536 GB, free: 42.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.375e-06/3.656, allocations: 3.938 kB / 1.536 GB, free: 42.13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001827/3.656, allocations: 43.98 kB / 1.536 GB, free: 42.09 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.005475/3.662, allocations: 2.187 MB / 1.538 GB, free: 39.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/3.662, allocations: 8.031 kB / 1.538 GB, free: 39.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/3.664, allocations: 367.1 kB / 1.538 GB, free: 39.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005107/3.669, allocations: 2.028 MB / 1.54 GB, free: 37.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/3.669, allocations: 82 kB / 1.54 GB, free: 37.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/3.669, allocations: 108 kB / 1.54 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/3.671, allocations: 1.146 MB / 1.541 GB, free: 36.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/3.671, allocations: 7.938 kB / 1.541 GB, free: 36.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/3.671, allocations: 44.34 kB / 1.541 GB, free: 35.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/3.671, allocations: 27.95 kB / 1.541 GB, free: 35.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/3.673, allocations: 0.8939 MB / 1.542 GB, free: 35.05 MB / 0.6823 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.006503/3.679, allocations: 4.633 MB / 1.547 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/3.68, allocations: 0.5984 MB / 1.547 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003776/3.684, allocations: 2.939 MB / 1.55 GB, free: 26.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005755/3.685, allocations: 334.9 kB / 1.551 GB, free: 25.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005518/3.685, allocations: 67.12 kB / 1.551 GB, free: 25.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=55): time 3.226e-06/3.685, allocations: 0 / 1.551 GB, free: 25.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55): time 0.001838/3.687, allocations: 0.9799 MB / 1.552 GB, free: 24.88 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/3.687, allocations: 63.92 kB / 1.552 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/3.689, allocations: 1.192 MB / 1.553 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/3.689, allocations: 41.7 kB / 1.553 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005482/3.689, allocations: 0.7307 MB / 1.554 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/3.69, allocations: 197.3 kB / 1.554 GB, free: 22.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/3.69, allocations: 20 kB / 1.554 GB, free: 22.61 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/3.69, allocations: 341.9 kB / 1.554 GB, free: 22.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/3.69, allocations: 277.8 kB / 1.554 GB, free: 22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/3.691, allocations: 0.6537 MB / 1.555 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/3.692, allocations: 406.4 kB / 1.555 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/3.692, allocations: 4 kB / 1.555 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001809/3.693, allocations: 1.117 MB / 1.556 GB, free: 19.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009363/3.694, allocations: 4.387 MB / 1.561 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/3.694, allocations: 12 kB / 1.561 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/3.695, allocations: 56.83 kB / 1.561 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/3.695, allocations: 211.7 kB / 1.561 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003606/3.696, allocations: 0.599 MB / 1.562 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/3.697, allocations: 107.8 kB / 1.562 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/3.697, allocations: 55.98 kB / 1.562 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/3.697, allocations: 5.562 kB / 1.562 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001547/3.699, allocations: 0.9643 MB / 1.563 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/3.699, allocations: 8.594 kB / 1.563 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/3.699, allocations: 64.83 kB / 1.563 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/3.7, allocations: 203.6 kB / 1.563 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003466/3.7, allocations: 0.5951 MB / 1.564 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/3.701, allocations: 99.94 kB / 1.564 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-05/3.701, allocations: 55.98 kB / 1.564 GB, free: 11.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,realToBoolean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 110 * Array equations: 1 * Algorithm blocks: 1 * 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.00103/3.702, allocations: 445.3 kB / 1.564 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/3.702, allocations: 146.2 kB / 1.564 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/3.704, allocations: 1.159 MB / 1.565 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/3.704, allocations: 15.98 kB / 1.565 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/3.704, allocations: 0 / 1.565 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/3.706, allocations: 0.8985 MB / 1.566 GB, free: 9.172 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.003336/3.709, allocations: 2.16 MB / 1.568 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/3.709, allocations: 4 kB / 1.568 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/3.709, allocations: 107.9 kB / 1.569 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/3.71, allocations: 48.95 kB / 1.569 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/3.71, allocations: 23.94 kB / 1.569 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000255/3.71, allocations: 0.5602 MB / 1.569 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/3.71, allocations: 0 / 1.569 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/3.712, allocations: 1.489 MB / 1.571 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006077/3.712, allocations: 315 kB / 1.571 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/3.713, allocations: 20 kB / 1.571 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/3.713, allocations: 71.78 kB / 1.571 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/3.713, allocations: 56.48 kB / 1.571 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/3.713, allocations: 31.97 kB / 1.571 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001186/3.715, allocations: 0.9094 MB / 1.572 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/3.715, allocations: 0 / 1.572 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002671/3.717, allocations: 0.8812 MB / 1.573 GB, free: 2.32 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (threeWayValveSwitch.vol.dynBal.U,T_mix.T,T_leg0.T,T_leg1.T) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,realToBoolean.y) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002036/3.719, allocations: 1.139 MB / 1.574 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.4976/4.217, allocations: 1.391 MB / 1.575 GB, free: 96.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/4.217, allocations: 0.7188 kB / 1.575 GB, free: 96.47 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/4.218, allocations: 416.8 kB / 1.576 GB, free: 96.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/4.223, allocations: 0.7361 MB / 1.576 GB, free: 96.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/4.229, allocations: 3.205 MB / 1.58 GB, free: 95.08 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/4.23, allocations: 1.304 MB / 1.581 GB, free: 94.37 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002453/4.233, allocations: 402.2 kB / 1.581 GB, free: 94.35 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/4.233, allocations: 124 kB / 1.581 GB, free: 94.35 MB / 0.6823 GB Notification: Performance of SimCode: time 1.512e-06/4.233, allocations: 0 / 1.581 GB, free: 94.35 MB / 0.6823 GB Notification: Performance of Templates: time 0.06373/4.297, allocations: 34.75 MB / 1.615 GB, free: 93.04 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe 2>&1)