Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_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_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.01044/0.01044, allocations: 169.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7913/0.7913, allocations: 132.3 MB / 148.1 MB, free: 252 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 223.2 MB / 403.2 MB, free: 6.715 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.001445/0.001445, allocations: 88.03 kB / 485.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.00046, allocations: 8 kB / 0.5641 GB, free: 2.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.5162, allocations: 81.57 MB / 0.6438 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1/1.516, allocations: 363.8 MB / 0.999 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/1.517, allocations: 106.1 kB / 0.9991 GB, free: 480 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.19/3.707, allocations: 0.5305 GB / 1.53 GB, free: 54.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.735e-06/3.707, allocations: 0 / 1.53 GB, free: 54.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002176/3.707, allocations: 46.28 kB / 1.53 GB, free: 54.83 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.005916/3.713, allocations: 2.19 MB / 1.532 GB, free: 52.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/3.713, allocations: 12.03 kB / 1.532 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/3.715, allocations: 357.5 kB / 1.532 GB, free: 52.22 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/3.719, allocations: 2.028 MB / 1.534 GB, free: 50.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/3.72, allocations: 82 kB / 1.534 GB, free: 50.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/3.72, allocations: 104 kB / 1.534 GB, free: 49.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/3.722, allocations: 1.15 MB / 1.535 GB, free: 48.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/3.722, allocations: 8.281 kB / 1.535 GB, free: 48.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.673e-05/3.722, allocations: 43.95 kB / 1.535 GB, free: 48.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/3.722, allocations: 24 kB / 1.535 GB, free: 48.69 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/3.723, allocations: 0.89 MB / 1.536 GB, free: 47.8 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.00587/3.729, allocations: 4.648 MB / 1.541 GB, free: 42.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/3.73, allocations: 0.5905 MB / 1.541 GB, free: 42.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0037/3.734, allocations: 2.931 MB / 1.544 GB, free: 39.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/3.735, allocations: 334.9 kB / 1.545 GB, free: 38.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003789/3.735, allocations: 71.06 kB / 1.545 GB, free: 38.64 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=55): time 3.517e-06/3.735, allocations: 0 / 1.545 GB, free: 38.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55): time 0.001886/3.737, allocations: 0.9877 MB / 1.546 GB, free: 37.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/3.737, allocations: 67.89 kB / 1.546 GB, free: 37.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/3.739, allocations: 1.185 MB / 1.547 GB, free: 36.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/3.739, allocations: 37.7 kB / 1.547 GB, free: 36.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/3.739, allocations: 0.7424 MB / 1.548 GB, free: 35.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/3.739, allocations: 193.3 kB / 1.548 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/3.739, allocations: 16 kB / 1.548 GB, free: 35.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/3.739, allocations: 341.9 kB / 1.548 GB, free: 35.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/3.74, allocations: 277.8 kB / 1.548 GB, free: 34.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/3.741, allocations: 0.6616 MB / 1.549 GB, free: 33.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/3.741, allocations: 403.6 kB / 1.549 GB, free: 33.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/3.741, allocations: 4 kB / 1.549 GB, free: 33.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001797/3.743, allocations: 1.113 MB / 1.551 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009759/3.744, allocations: 4.386 MB / 1.555 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/3.744, allocations: 15.94 kB / 1.555 GB, free: 27.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/3.744, allocations: 56.83 kB / 1.555 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/3.745, allocations: 215.6 kB / 1.555 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000367/3.746, allocations: 0.5913 MB / 1.556 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/3.747, allocations: 107.8 kB / 1.556 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/3.747, allocations: 59.97 kB / 1.556 GB, free: 26.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/3.747, allocations: 4 kB / 1.556 GB, free: 26.67 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001599/3.749, allocations: 0.9609 MB / 1.557 GB, free: 25.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/3.749, allocations: 12 kB / 1.557 GB, free: 25.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/3.749, allocations: 60.86 kB / 1.557 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/3.749, allocations: 211.6 kB / 1.557 GB, free: 25.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002883/3.75, allocations: 0.5991 MB / 1.558 GB, free: 24.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/3.751, allocations: 87.84 kB / 1.558 GB, free: 24.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/3.751, allocations: 55.98 kB / 1.558 GB, free: 24.65 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.0009585/3.752, allocations: 452.7 kB / 1.558 GB, free: 24.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/3.752, allocations: 150.2 kB / 1.558 GB, free: 24.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/3.755, allocations: 1.137 MB / 1.559 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/3.755, allocations: 11.98 kB / 1.559 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/3.755, allocations: 0 / 1.559 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/3.756, allocations: 0.8985 MB / 1.56 GB, free: 21.95 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.004318/3.761, allocations: 2.168 MB / 1.562 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/3.761, allocations: 0 / 1.562 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/3.761, allocations: 116 kB / 1.563 GB, free: 19.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/3.761, allocations: 44.78 kB / 1.563 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/3.761, allocations: 19.98 kB / 1.563 GB, free: 19.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002719/3.762, allocations: 0.5602 MB / 1.563 GB, free: 18.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/3.762, allocations: 11.97 kB / 1.563 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/3.764, allocations: 1.489 MB / 1.565 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008357/3.765, allocations: 319 kB / 1.565 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/3.765, allocations: 16 kB / 1.565 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/3.766, allocations: 63.84 kB / 1.565 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/3.766, allocations: 56.48 kB / 1.565 GB, free: 16.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/3.766, allocations: 39.91 kB / 1.565 GB, free: 16.87 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001586/3.768, allocations: 0.9055 MB / 1.566 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/3.768, allocations: 7.938 kB / 1.566 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003547/3.771, allocations: 0.8735 MB / 1.567 GB, free: 15.08 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.002352/3.774, allocations: 1.127 MB / 1.568 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002834/3.777, allocations: 1.405 MB / 1.569 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/3.777, allocations: 4.562 kB / 1.569 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007803/3.777, allocations: 415.1 kB / 1.57 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/3.781, allocations: 0.7372 MB / 1.57 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/3.786, allocations: 3.212 MB / 1.574 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009596/3.787, allocations: 1.297 MB / 1.575 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001848/3.789, allocations: 400.1 kB / 1.575 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/3.789, allocations: 127.3 kB / 1.575 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/3.789, allocations: 0 / 1.575 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of Templates: time 0.4842/4.274, allocations: 34.73 MB / 1.609 GB, free: 98.41 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe 2>&1)