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.001632/0.001632, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002225, allocations: 64.06 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2172, allocations: 80.93 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4168/0.634, allocations: 112.6 MB / 0.6944 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03663/0.6707, allocations: 20.22 MB / 0.7141 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005612/0.6764, allocations: 109.6 kB / 0.7142 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005742/0.6821, allocations: 1.278 MB / 0.7155 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01632/0.6985, allocations: 3.675 MB / 0.719 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01141/0.71, allocations: 3.078 MB / 0.7221 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0166/0.7266, allocations: 7.183 MB / 0.7291 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008174/0.7348, allocations: 2.577 MB / 0.7316 GB, free: 4.676 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.745, allocations: 2.797 MB / 0.7343 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005967/0.751, allocations: 2.117 MB / 0.7364 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00175/0.7528, allocations: 255 kB / 0.7366 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006589/0.7594, allocations: 1.646 MB / 0.7382 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001763/0.7612, allocations: 0.6967 MB / 0.7389 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004305/0.7656, allocations: 1.516 MB / 0.7404 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.7764, allocations: 4.342 MB / 0.7446 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.7765, allocations: 0 / 0.7446 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.266e-06/0.7765, allocations: 0 / 0.7446 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001782/0.7767, allocations: 4 kB / 0.7446 GB, free: 10.03 MB / 0.5606 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.008564/0.7853, allocations: 3.225 MB / 0.7478 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.7854, allocations: 12.03 kB / 0.7478 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.7864, allocations: 328.2 kB / 0.7481 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/0.7918, allocations: 2.092 MB / 0.7502 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.792, allocations: 127 kB / 0.7503 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005004/0.7925, allocations: 172 kB / 0.7504 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/0.7958, allocations: 1.616 MB / 0.752 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.7958, allocations: 0 / 0.752 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.796, allocations: 64 kB / 0.7521 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/0.796, allocations: 39.94 kB / 0.7521 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.7981, allocations: 1.143 MB / 0.7532 GB, free: 1.016 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.01205/0.8102, allocations: 7.982 MB / 0.761 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007973/0.811, allocations: 481.8 kB / 0.7615 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.8115, allocations: 319 kB / 0.7618 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006715/0.8122, allocations: 0.7563 MB / 0.7625 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.8123, allocations: 39.12 kB / 0.7626 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 4.047e-06/0.8123, allocations: 11.92 kB / 0.7626 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002332/0.8146, allocations: 0.9881 MB / 0.7635 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.8147, allocations: 59.97 kB / 0.7636 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/0.8177, allocations: 2.335 MB / 0.7659 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.8179, allocations: 45.7 kB / 0.7659 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.8194, allocations: 1.153 MB / 0.7671 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.8196, allocations: 213 kB / 0.7673 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.82, allocations: 258.6 kB / 0.7675 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8201, allocations: 345.9 kB / 0.7678 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/0.8208, allocations: 357.9 kB / 0.7682 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/0.8218, allocations: 0.7525 MB / 0.7689 GB, free: 52 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.8232, allocations: 0.9746 MB / 0.7699 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.8232, allocations: 7.938 kB / 0.7699 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002668/0.8259, allocations: 1.295 MB / 0.7711 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.8259, allocations: 8 kB / 0.7711 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.8259, allocations: 8 kB / 0.7711 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.826, allocations: 16 kB / 0.7712 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009416/0.8269, allocations: 255.6 kB / 0.7714 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-05/0.8269, allocations: 16.41 kB / 0.7714 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.8285, allocations: 178.2 kB / 0.7716 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-05/0.8286, allocations: 55.98 kB / 0.7716 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001464/0.8301, allocations: 0.7563 MB / 0.7724 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001061/0.8312, allocations: 0.7349 MB / 0.7731 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001443/0.8326, allocations: 0.9602 MB / 0.774 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.583e-06/0.8327, allocations: 4 kB / 0.774 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.00258/0.8352, allocations: 1.258 MB / 0.7753 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8353, allocations: 8 kB / 0.7753 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.8353, allocations: 8.875 kB / 0.7753 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8353, allocations: 16 kB / 0.7753 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008543/0.8362, allocations: 255.6 kB / 0.7755 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/0.8362, allocations: 15.94 kB / 0.7756 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.8379, allocations: 127.1 kB / 0.7757 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/0.838, allocations: 55.98 kB / 0.7757 GB, free: 8.641 MB / 0.5919 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.0003022/0.8383, allocations: 251.8 kB / 0.776 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005834/0.8389, allocations: 237.1 kB / 0.7762 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.8407, allocations: 0.882 MB / 0.7771 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.8407, allocations: 4 kB / 0.7771 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8407, allocations: 3.984 kB / 0.7771 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009974/0.8417, allocations: 0.6853 MB / 0.7777 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004516/0.8463, allocations: 2.589 MB / 0.7803 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.8463, allocations: 0 / 0.7803 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.8468, allocations: 123.9 kB / 0.7804 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.8469, allocations: 4 kB / 0.7804 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.8469, allocations: 16 kB / 0.7804 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.8469, allocations: 0 / 0.7804 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8469, allocations: 12.03 kB / 0.7804 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.8492, allocations: 1.309 MB / 0.7817 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009331/0.8501, allocations: 421.9 kB / 0.7821 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004318/0.8506, allocations: 12 kB / 0.7821 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.8517, allocations: 47.94 kB / 0.7822 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.8518, allocations: 44.44 kB / 0.7822 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/0.8519, allocations: 31.92 kB / 0.7822 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002817/0.8547, allocations: 1.566 MB / 0.7838 GB, free: 252 kB / 0.5919 GB Notification: Performance of sort global known variables: time 6.12e-07/0.8548, allocations: 7.938 kB / 0.7838 GB, free: 244 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005162/0.8599, allocations: 1.111 MB / 0.7849 GB, free: 15.12 MB / 0.6075 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.002206/0.8622, allocations: 0.7498 MB / 0.7856 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003435/0.8656, allocations: 1.445 MB / 0.787 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.8657, allocations: 8.125 kB / 0.787 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006424/0.8663, allocations: 323 kB / 0.7873 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007181/0.8735, allocations: 1.378 MB / 0.7887 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007507/0.8811, allocations: 3.739 MB / 0.7923 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/0.883, allocations: 1.59 MB / 0.7939 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002928/0.8859, allocations: 0.4936 MB / 0.7943 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/0.8866, allocations: 179.4 kB / 0.7945 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of SimCode: time 1.193e-06/0.8866, allocations: 0 / 0.7945 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of Templates: time 0.08531/0.9719, allocations: 46.79 MB / 0.8402 GB, free: 7.074 MB / 0.6544 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)