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.001565/0.001565, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001502/0.001502, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7948/0.7948, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 79.86 kB / 0.506 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3495, allocations: 80.92 MB / 0.5851 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1056/0.4551, allocations: 112.6 MB / 0.6951 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0332/0.4884, allocations: 20.21 MB / 0.7148 GB, free: 5.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004442/0.4928, allocations: 107.3 kB / 0.7149 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004327/0.4972, allocations: 1.285 MB / 0.7162 GB, free: 3.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.5082, allocations: 3.677 MB / 0.7197 GB, free: 232 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007735/0.5159, allocations: 3.069 MB / 0.7227 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0105/0.5264, allocations: 7.187 MB / 0.7298 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004258/0.5307, allocations: 2.576 MB / 0.7323 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006571/0.5373, allocations: 2.797 MB / 0.735 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004009/0.5413, allocations: 2.135 MB / 0.7371 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008831/0.5422, allocations: 252 kB / 0.7373 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/0.5466, allocations: 1.646 MB / 0.7389 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009704/0.5476, allocations: 0.6889 MB / 0.7396 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00247/0.5501, allocations: 1.508 MB / 0.7411 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006581/0.5567, allocations: 4.342 MB / 0.7453 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.5567, allocations: 8 kB / 0.7453 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5567, allocations: 0 / 0.7453 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.4e-05/0.5568, allocations: 0 / 0.7453 GB, free: 5.961 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.005741/0.5625, allocations: 3.233 MB / 0.7485 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5626, allocations: 9.109 kB / 0.7485 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000783/0.5634, allocations: 324.2 kB / 0.7488 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.5668, allocations: 2.1 MB / 0.7509 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.567, allocations: 127 kB / 0.751 GB, free: 36 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2615/0.8285, allocations: 164.6 kB / 0.7511 GB, free: 159 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003098/0.8316, allocations: 1.609 MB / 0.7527 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.8316, allocations: 2.688 kB / 0.7527 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.8318, allocations: 65.56 kB / 0.7528 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.8318, allocations: 39.73 kB / 0.7528 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.8339, allocations: 1.144 MB / 0.7539 GB, free: 158 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.0102/0.8441, allocations: 7.979 MB / 0.7617 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/0.8449, allocations: 475.4 kB / 0.7622 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.8454, allocations: 326.9 kB / 0.7625 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/0.8459, allocations: 0.7602 MB / 0.7632 GB, free: 151 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.8459, allocations: 40.78 kB / 0.7633 GB, free: 151 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.8459, allocations: 0.5938 kB / 0.7633 GB, free: 151 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002039/0.848, allocations: 0.9893 MB / 0.7642 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.848, allocations: 66.69 kB / 0.7643 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.8507, allocations: 2.336 MB / 0.7666 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.8508, allocations: 45.64 kB / 0.7666 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006898/0.8515, allocations: 1.148 MB / 0.7677 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.8517, allocations: 220.9 kB / 0.768 GB, free: 148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.852, allocations: 257.2 kB / 0.7682 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.8521, allocations: 343.3 kB / 0.7685 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.8526, allocations: 364.9 kB / 0.7689 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007066/0.8533, allocations: 0.7454 MB / 0.7696 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.8544, allocations: 0.9811 MB / 0.7706 GB, free: 146 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.8544, allocations: 4.281 kB / 0.7706 GB, free: 146 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001938/0.8564, allocations: 1.296 MB / 0.7718 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.8564, allocations: 8.656 kB / 0.7718 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.8564, allocations: 7.875 kB / 0.7719 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.8564, allocations: 11.78 kB / 0.7719 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008522/0.8573, allocations: 254.8 kB / 0.7721 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/0.8573, allocations: 27.61 kB / 0.7721 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.859, allocations: 166.6 kB / 0.7723 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/0.8591, allocations: 56.14 kB / 0.7723 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001292/0.8604, allocations: 0.7574 MB / 0.7731 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006723/0.8611, allocations: 0.7384 MB / 0.7738 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001084/0.8622, allocations: 0.9483 MB / 0.7747 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.342e-06/0.8622, allocations: 6.562 kB / 0.7747 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001995/0.8642, allocations: 1.26 MB / 0.776 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.8642, allocations: 11.09 kB / 0.776 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.8642, allocations: 11.94 kB / 0.776 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.8642, allocations: 12 kB / 0.776 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.865, allocations: 249.6 kB / 0.7762 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.8651, allocations: 26.81 kB / 0.7763 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.8666, allocations: 135 kB / 0.7764 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.8667, allocations: 51.98 kB / 0.7764 GB, free: 141.9 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.867, allocations: 247.9 kB / 0.7767 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.8674, allocations: 233.1 kB / 0.7769 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.8689, allocations: 0.8861 MB / 0.7778 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.869, allocations: 8 kB / 0.7778 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.869, allocations: 3.938 kB / 0.7778 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000792/0.8698, allocations: 0.6891 MB / 0.7785 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.8729, allocations: 2.577 MB / 0.781 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.8729, allocations: 3.938 kB / 0.781 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.8734, allocations: 127.8 kB / 0.7811 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.8734, allocations: 3.938 kB / 0.7811 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.8735, allocations: 19.98 kB / 0.7811 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.8735, allocations: 4 kB / 0.7811 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.8735, allocations: 0.875 kB / 0.7811 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.875, allocations: 1.312 MB / 0.7824 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.8755, allocations: 425.9 kB / 0.7828 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.8758, allocations: 12 kB / 0.7828 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/0.8766, allocations: 46 kB / 0.7829 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.8767, allocations: 47.33 kB / 0.7829 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.8768, allocations: 31.97 kB / 0.7829 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001604/0.8784, allocations: 1.569 MB / 0.7845 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8784, allocations: 0 / 0.7845 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002273/0.8807, allocations: 1.102 MB / 0.7855 GB, free: 132.5 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.001861/0.8825, allocations: 0.7676 MB / 0.7863 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00227/0.8848, allocations: 1.444 MB / 0.7877 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8848, allocations: 3.062 kB / 0.7877 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.8853, allocations: 327 kB / 0.788 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00525/0.8905, allocations: 1.385 MB / 0.7894 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.8957, allocations: 3.792 MB / 0.7931 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.8964, allocations: 1.586 MB / 0.7946 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.8968, allocations: 183.3 kB / 0.7948 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/0.8968, allocations: 3.938 kB / 0.7948 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.04138/0.9382, allocations: 39.55 MB / 0.8334 GB, free: 84.14 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)