Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001133/0.001133, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001479/0.00148, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003738, allocations: 9.031 kB / 0.507 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1986, allocations: 82.31 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5133/0.7119, allocations: 104 MB / 0.689 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03277/0.7448, allocations: 19.05 MB / 0.7076 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007695/0.7525, allocations: 90.59 kB / 0.7077 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005075/0.7576, allocations: 0.895 MB / 0.7085 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.7701, allocations: 2.865 MB / 0.7113 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008812/0.7789, allocations: 2.379 MB / 0.7137 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01826/0.7972, allocations: 8.11 MB / 0.7216 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00647/0.8037, allocations: 1.819 MB / 0.7234 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008289/0.8121, allocations: 2.236 MB / 0.7256 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005356/0.8175, allocations: 1.917 MB / 0.7274 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000771/0.8183, allocations: 89.69 kB / 0.7275 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005309/0.8236, allocations: 1.149 MB / 0.7286 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007605/0.8244, allocations: 0.4887 MB / 0.7291 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.8259, allocations: 0.568 MB / 0.7297 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.831, allocations: 3.271 MB / 0.7329 GB, free: 6.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.831, allocations: 3.5 kB / 0.7329 GB, free: 6.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.304e-06/0.831, allocations: 0 / 0.7329 GB, free: 6.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.902e-05/0.8311, allocations: 0 / 0.7329 GB, free: 6.934 MB / 0.545 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.004943/0.8361, allocations: 2.712 MB / 0.7355 GB, free: 4.934 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.8361, allocations: 13.81 kB / 0.7355 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.8369, allocations: 323 kB / 0.7358 GB, free: 4.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/0.8407, allocations: 2.068 MB / 0.7379 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.8408, allocations: 127 kB / 0.738 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.841, allocations: 168 kB / 0.7381 GB, free: 2.355 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/0.844, allocations: 1.608 MB / 0.7397 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.8441, allocations: 7.906 kB / 0.7397 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.8442, allocations: 67.98 kB / 0.7398 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/0.8443, allocations: 39.98 kB / 0.7398 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.8463, allocations: 1.151 MB / 0.7409 GB, free: 15.41 MB / 0.5606 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.01146/0.8578, allocations: 7.897 MB / 0.7486 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.8586, allocations: 478 kB / 0.7491 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/0.8591, allocations: 326.9 kB / 0.7494 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006652/0.8598, allocations: 0.7524 MB / 0.7502 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.8598, allocations: 47.11 kB / 0.7502 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.805e-06/0.8599, allocations: 0 / 0.7502 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.002118/0.862, allocations: 0.9959 MB / 0.7512 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.862, allocations: 63.95 kB / 0.7512 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.8651, allocations: 2.285 MB / 0.7535 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.8652, allocations: 49.7 kB / 0.7535 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008993/0.8661, allocations: 1.153 MB / 0.7546 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.8664, allocations: 213 kB / 0.7548 GB, free: 448 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.8664, allocations: 20 kB / 0.7549 GB, free: 428 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8665, allocations: 357.9 kB / 0.7552 GB, free: 64 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/0.8672, allocations: 342.5 kB / 0.7555 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008299/0.868, allocations: 0.7307 MB / 0.7562 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.8687, allocations: 466.7 kB / 0.7567 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8688, allocations: 0 / 0.7567 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002187/0.871, allocations: 1.268 MB / 0.7579 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.8712, allocations: 342.6 kB / 0.7582 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.8712, allocations: 12 kB / 0.7583 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/0.8713, allocations: 15.98 kB / 0.7583 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/0.8722, allocations: 255.6 kB / 0.7585 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.8723, allocations: 16 kB / 0.7585 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.8742, allocations: 258 kB / 0.7588 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.8744, allocations: 55.94 kB / 0.7588 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.8744, allocations: 6.031 kB / 0.7588 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/0.876, allocations: 1.027 MB / 0.7598 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.876, allocations: 8 kB / 0.7598 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.876, allocations: 16 kB / 0.7599 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008932/0.8769, allocations: 256.1 kB / 0.7601 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.877, allocations: 15.94 kB / 0.7601 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.8788, allocations: 222.6 kB / 0.7603 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-05/0.8789, allocations: 56.27 kB / 0.7604 GB, free: 10.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001074/0.88, allocations: 0.571 MB / 0.7609 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/0.8805, allocations: 241 kB / 0.7612 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.8821, allocations: 0.899 MB / 0.7621 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.8821, allocations: 7.984 kB / 0.7621 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8821, allocations: 4 kB / 0.7621 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009384/0.8831, allocations: 0.6853 MB / 0.7627 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.8873, allocations: 2.586 MB / 0.7653 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.8873, allocations: 4 kB / 0.7653 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.8879, allocations: 127.8 kB / 0.7654 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.8879, allocations: 7.938 kB / 0.7654 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/0.8879, allocations: 28.08 kB / 0.7654 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.8879, allocations: 7.938 kB / 0.7654 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8879, allocations: 0 / 0.7654 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.89, allocations: 1.321 MB / 0.7667 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008829/0.8909, allocations: 457.8 kB / 0.7672 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.8911, allocations: 12 kB / 0.7672 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/0.8921, allocations: 119.7 kB / 0.7673 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.8922, allocations: 36.52 kB / 0.7673 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.8923, allocations: 35.97 kB / 0.7674 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002108/0.8944, allocations: 1.526 MB / 0.7688 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8944, allocations: 0 / 0.7688 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002879/0.8973, allocations: 1.099 MB / 0.7699 GB, free: 0.5273 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/0.8991, allocations: 0.7093 MB / 0.7706 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.9017, allocations: 1.339 MB / 0.7719 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.9017, allocations: 12.06 kB / 0.7719 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.9024, allocations: 327 kB / 0.7722 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006278/0.9086, allocations: 1.39 MB / 0.7736 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00646/0.9151, allocations: 4.419 MB / 0.7779 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.9163, allocations: 1.586 MB / 0.7795 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002171/0.9185, allocations: 497.1 kB / 0.7799 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.9188, allocations: 175.4 kB / 0.7801 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.9188, allocations: 0 / 0.7801 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of Templates: time 0.09057/1.009, allocations: 43.72 MB / 0.8228 GB, free: 10.95 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)