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.001112/0.001112, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.0012/0.0012, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7936/0.7936, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 0.5068 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3622, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1/0.4623, allocations: 112.6 MB / 0.6958 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03342/0.4957, allocations: 20.22 MB / 0.7155 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0067/0.5025, allocations: 103.4 kB / 0.7156 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005463/0.508, allocations: 1.281 MB / 0.7169 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.52, allocations: 3.687 MB / 0.7205 GB, free: 284 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008133/0.5282, allocations: 3.104 MB / 0.7235 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01096/0.5392, allocations: 7.213 MB / 0.7306 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004279/0.5435, allocations: 2.576 MB / 0.7331 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007664/0.5512, allocations: 2.805 MB / 0.7358 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/0.5559, allocations: 2.128 MB / 0.7379 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.5569, allocations: 256 kB / 0.7381 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/0.5618, allocations: 1.642 MB / 0.7397 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008915/0.5627, allocations: 0.7006 MB / 0.7404 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003016/0.5657, allocations: 1.508 MB / 0.7419 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006695/0.5724, allocations: 4.396 MB / 0.7462 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5725, allocations: 0 / 0.7462 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5725, allocations: 0 / 0.7462 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.927e-05/0.5726, allocations: 4 kB / 0.7462 GB, free: 5.883 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.006381/0.579, allocations: 3.23 MB / 0.7493 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.579, allocations: 9.109 kB / 0.7493 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.5799, allocations: 324.2 kB / 0.7497 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.305/0.8849, allocations: 2.187 MB / 0.7518 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.8852, allocations: 125.7 kB / 0.7519 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006876/0.8859, allocations: 175.4 kB / 0.7521 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/0.8892, allocations: 1.605 MB / 0.7536 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.8893, allocations: 3.219 kB / 0.7536 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.8894, allocations: 70.62 kB / 0.7537 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.8894, allocations: 40.31 kB / 0.7538 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.8919, allocations: 1.145 MB / 0.7549 GB, free: 157.4 MB / 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.01129/0.9032, allocations: 7.912 MB / 0.7626 GB, free: 152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008853/0.9041, allocations: 478.9 kB / 0.7631 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.9046, allocations: 317.9 kB / 0.7634 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004806/0.9051, allocations: 0.7586 MB / 0.7641 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.9051, allocations: 43.69 kB / 0.7641 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/0.9051, allocations: 0.5938 kB / 0.7641 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001999/0.9071, allocations: 0.9918 MB / 0.7651 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.9072, allocations: 57.78 kB / 0.7652 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.9097, allocations: 2.338 MB / 0.7675 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.9098, allocations: 41.67 kB / 0.7675 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/0.9104, allocations: 1.157 MB / 0.7686 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.9106, allocations: 215.8 kB / 0.7688 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.9109, allocations: 253 kB / 0.7691 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.911, allocations: 351.7 kB / 0.7694 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.9115, allocations: 360.8 kB / 0.7697 GB, free: 147 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/0.9122, allocations: 0.7449 MB / 0.7705 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.9133, allocations: 0.9869 MB / 0.7714 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.9133, allocations: 4.719 kB / 0.7714 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001787/0.9151, allocations: 1.296 MB / 0.7727 GB, free: 145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.9151, allocations: 13.09 kB / 0.7727 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.9151, allocations: 7.875 kB / 0.7727 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.9152, allocations: 15.88 kB / 0.7727 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008574/0.916, allocations: 253 kB / 0.773 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.9161, allocations: 15.75 kB / 0.773 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.9173, allocations: 178.2 kB / 0.7732 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/0.9174, allocations: 52.05 kB / 0.7732 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001053/0.9185, allocations: 0.7627 MB / 0.774 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006722/0.9192, allocations: 0.7377 MB / 0.7747 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009931/0.9202, allocations: 0.9546 MB / 0.7756 GB, free: 143 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.9202, allocations: 3.344 kB / 0.7756 GB, free: 143 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001636/0.9218, allocations: 1.259 MB / 0.7768 GB, free: 142 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9219, allocations: 8 kB / 0.7769 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.9219, allocations: 8 kB / 0.7769 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.9219, allocations: 15.94 kB / 0.7769 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.9226, allocations: 252.8 kB / 0.7771 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.9227, allocations: 19.94 kB / 0.7771 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.9239, allocations: 127.1 kB / 0.7773 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.9239, allocations: 47.98 kB / 0.7773 GB, free: 141.5 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.0002293/0.9242, allocations: 248.7 kB / 0.7775 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.9244, allocations: 241 kB / 0.7778 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.9258, allocations: 0.8863 MB / 0.7786 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.9258, allocations: 11.98 kB / 0.7786 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.9258, allocations: 0 / 0.7786 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007577/0.9265, allocations: 0.6874 MB / 0.7793 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.9295, allocations: 2.585 MB / 0.7818 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9295, allocations: 3.938 kB / 0.7818 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.93, allocations: 131.8 kB / 0.782 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.93, allocations: 3.938 kB / 0.782 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.93, allocations: 16 kB / 0.782 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.93, allocations: 4 kB / 0.782 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9301, allocations: 0 / 0.782 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.9316, allocations: 1.313 MB / 0.7833 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005973/0.9322, allocations: 417.9 kB / 0.7837 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.9324, allocations: 15.94 kB / 0.7837 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008388/0.9332, allocations: 51.88 kB / 0.7837 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.9333, allocations: 40.5 kB / 0.7838 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.228e-05/0.9334, allocations: 27.98 kB / 0.7838 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001601/0.935, allocations: 1.569 MB / 0.7853 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.935, allocations: 0 / 0.7853 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002132/0.9371, allocations: 1.111 MB / 0.7864 GB, free: 132.1 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.001387/0.9385, allocations: 0.7602 MB / 0.7872 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.9405, allocations: 1.353 MB / 0.7885 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9406, allocations: 0 / 0.7885 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.941, allocations: 329.1 kB / 0.7888 GB, free: 130 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004521/0.9455, allocations: 1.391 MB / 0.7902 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.9499, allocations: 3.672 MB / 0.7937 GB, free: 125 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/0.9507, allocations: 1.594 MB / 0.7953 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001709/0.9524, allocations: 0.4891 MB / 0.7958 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.9527, allocations: 171.4 kB / 0.7959 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.9527, allocations: 0 / 0.7959 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.0556/1.008, allocations: 44.36 MB / 0.8393 GB, free: 78.88 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)