Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 100.3 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 193.2 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8482/0.8482, allocations: 132.2 MB / 423.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 68.09 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3985, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1006/0.4992, allocations: 112.6 MB / 0.6915 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03167/0.5309, allocations: 20.21 MB / 0.7112 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004342/0.5353, allocations: 111.3 kB / 0.7113 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003825/0.5392, allocations: 1.281 MB / 0.7126 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.5495, allocations: 3.68 MB / 0.7162 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00787/0.5573, allocations: 3.109 MB / 0.7192 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.5674, allocations: 7.208 MB / 0.7263 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004907/0.5723, allocations: 2.568 MB / 0.7288 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008408/0.5808, allocations: 2.821 MB / 0.7315 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005545/0.5864, allocations: 2.124 MB / 0.7336 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001175/0.5876, allocations: 256 kB / 0.7338 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005466/0.593, allocations: 1.642 MB / 0.7354 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.5942, allocations: 0.6928 MB / 0.7361 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00261/0.5968, allocations: 1.512 MB / 0.7376 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00707/0.6039, allocations: 4.393 MB / 0.7419 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.604, allocations: 4 kB / 0.7419 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.604, allocations: 0 / 0.7419 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.991e-05/0.6041, allocations: 3.984 kB / 0.7419 GB, free: 9.535 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006057/0.6102, allocations: 3.233 MB / 0.7451 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.6102, allocations: 8.031 kB / 0.7451 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008565/0.6111, allocations: 324.3 kB / 0.7454 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/0.6151, allocations: 2.203 MB / 0.7475 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/0.6152, allocations: 127 kB / 0.7476 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.6154, allocations: 171.9 kB / 0.7478 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.6181, allocations: 1.604 MB / 0.7494 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.6181, allocations: 4 kB / 0.7494 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.6183, allocations: 63.94 kB / 0.7494 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.6183, allocations: 43.94 kB / 0.7495 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.6203, allocations: 1.147 MB / 0.7506 GB, free: 424 kB / 0.5762 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.3012/0.9214, allocations: 7.91 MB / 0.7583 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.9223, allocations: 474.2 kB / 0.7588 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.9229, allocations: 323.5 kB / 0.7591 GB, free: 155 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000462/0.9233, allocations: 0.7586 MB / 0.7598 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.9234, allocations: 44.25 kB / 0.7599 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.397e-06/0.9234, allocations: 4.719 kB / 0.7599 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.0024/0.9258, allocations: 0.9847 MB / 0.7608 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.9259, allocations: 58.22 kB / 0.7609 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/0.9296, allocations: 2.339 MB / 0.7632 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.9298, allocations: 49.61 kB / 0.7632 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007146/0.9305, allocations: 1.145 MB / 0.7643 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.9306, allocations: 216.9 kB / 0.7645 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.931, allocations: 256.2 kB / 0.7648 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.931, allocations: 351.8 kB / 0.7651 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.9317, allocations: 361.2 kB / 0.7655 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007729/0.9325, allocations: 0.7444 MB / 0.7662 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.9337, allocations: 0.9818 MB / 0.7672 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.9337, allocations: 2.812 kB / 0.7672 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002265/0.936, allocations: 1.298 MB / 0.7684 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.936, allocations: 8.594 kB / 0.7684 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.9361, allocations: 7.969 kB / 0.7684 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.9361, allocations: 18.97 kB / 0.7685 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009451/0.9371, allocations: 252.4 kB / 0.7687 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.9371, allocations: 17.94 kB / 0.7687 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.9387, allocations: 181.5 kB / 0.7689 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.76e-05/0.9388, allocations: 51.3 kB / 0.7689 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001291/0.9401, allocations: 0.7586 MB / 0.7697 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007144/0.9408, allocations: 0.7429 MB / 0.7704 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001043/0.9419, allocations: 0.953 MB / 0.7713 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.748e-06/0.9419, allocations: 1.75 kB / 0.7713 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002038/0.9439, allocations: 1.254 MB / 0.7726 GB, free: 146 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9439, allocations: 16.36 kB / 0.7726 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.944, allocations: 10.69 kB / 0.7726 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.944, allocations: 11.78 kB / 0.7726 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.9448, allocations: 248.6 kB / 0.7728 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.9448, allocations: 15.78 kB / 0.7729 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.9464, allocations: 125.6 kB / 0.773 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.9465, allocations: 47.61 kB / 0.773 GB, free: 145.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003106/0.9468, allocations: 248 kB / 0.7733 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004132/0.9473, allocations: 245.5 kB / 0.7735 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.9489, allocations: 0.8849 MB / 0.7744 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.9489, allocations: 7.906 kB / 0.7744 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.9489, allocations: 0 / 0.7744 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008327/0.9497, allocations: 0.6811 MB / 0.775 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.9533, allocations: 2.59 MB / 0.7776 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9534, allocations: 0 / 0.7776 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.9539, allocations: 124.5 kB / 0.7777 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.9539, allocations: 11.22 kB / 0.7777 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.9539, allocations: 15.97 kB / 0.7777 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.9539, allocations: 5.812 kB / 0.7777 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.954, allocations: 0.8438 kB / 0.7777 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.9559, allocations: 1.318 MB / 0.779 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/0.9568, allocations: 412.1 kB / 0.7794 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.957, allocations: 20.94 kB / 0.7794 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008959/0.9579, allocations: 50.59 kB / 0.7795 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.958, allocations: 48 kB / 0.7795 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.9581, allocations: 33.83 kB / 0.7795 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001911/0.96, allocations: 1.564 MB / 0.7811 GB, free: 140 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9601, allocations: 3.469 kB / 0.7811 GB, free: 140 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002553/0.9626, allocations: 1.107 MB / 0.7821 GB, free: 138.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001579/0.9642, allocations: 0.7472 MB / 0.7829 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.9665, allocations: 1.364 MB / 0.7842 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9665, allocations: 0 / 0.7842 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.967, allocations: 323 kB / 0.7845 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005262/0.9722, allocations: 1.386 MB / 0.7859 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.9771, allocations: 3.675 MB / 0.7895 GB, free: 132 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007913/0.9779, allocations: 1.597 MB / 0.791 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001726/0.9797, allocations: 498 kB / 0.7915 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.98, allocations: 175.4 kB / 0.7917 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/0.98, allocations: 0 / 0.7917 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.05783/1.038, allocations: 44.37 MB / 0.835 GB, free: 85.89 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)