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.006233/0.006233, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001224/0.001224, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.789/0.789, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.25 kB / 0.5814 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1989, allocations: 80.2 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1099/0.3089, allocations: 112.6 MB / 0.7697 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03249/0.3415, allocations: 20.23 MB / 0.7894 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006376/0.3479, allocations: 103.4 kB / 0.7895 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004864/0.3528, allocations: 1.308 MB / 0.7908 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.3652, allocations: 3.868 MB / 0.7946 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008392/0.3736, allocations: 3.108 MB / 0.7976 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01208/0.3857, allocations: 7.229 MB / 0.8047 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004655/0.3904, allocations: 2.58 MB / 0.8072 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008047/0.3985, allocations: 2.898 MB / 0.81 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005088/0.4036, allocations: 2.128 MB / 0.8121 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.4049, allocations: 252 kB / 0.8123 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4197/0.8246, allocations: 1.644 MB / 0.814 GB, free: 42.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.8257, allocations: 0.6872 MB / 0.8146 GB, free: 42.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.8279, allocations: 1.511 MB / 0.8161 GB, free: 42.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006863/0.8348, allocations: 4.4 MB / 0.8204 GB, free: 42.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.8348, allocations: 0.5 kB / 0.8204 GB, free: 42.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8348, allocations: 3.375 kB / 0.8204 GB, free: 42.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000116/0.835, allocations: 0.5 kB / 0.8204 GB, free: 42.18 MB / 0.6387 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.006424/0.8414, allocations: 3.224 MB / 0.8235 GB, free: 40.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.8414, allocations: 12.83 kB / 0.8236 GB, free: 40.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008623/0.8423, allocations: 320.8 kB / 0.8239 GB, free: 40.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0036/0.8459, allocations: 2.201 MB / 0.826 GB, free: 40.03 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.846, allocations: 124.5 kB / 0.8261 GB, free: 40.03 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.8463, allocations: 171.4 kB / 0.8263 GB, free: 40.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.8491, allocations: 1.611 MB / 0.8279 GB, free: 39.83 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.8491, allocations: 6.438 kB / 0.8279 GB, free: 39.83 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.8493, allocations: 64.03 kB / 0.8279 GB, free: 39.83 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.335e-05/0.8493, allocations: 42.08 kB / 0.828 GB, free: 39.83 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.8514, allocations: 1.145 MB / 0.8291 GB, free: 39.81 MB / 0.6387 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.01034/0.8617, allocations: 7.911 MB / 0.8368 GB, free: 36.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.8625, allocations: 478 kB / 0.8373 GB, free: 36.13 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.8629, allocations: 323.4 kB / 0.8376 GB, free: 36.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004376/0.8634, allocations: 0.7498 MB / 0.8383 GB, free: 35.28 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.8634, allocations: 43.56 kB / 0.8384 GB, free: 35.24 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.8634, allocations: 0 / 0.8384 GB, free: 35.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002306/0.8657, allocations: 0.995 MB / 0.8393 GB, free: 35.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.8658, allocations: 62.94 kB / 0.8394 GB, free: 35.01 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/0.8694, allocations: 2.33 MB / 0.8417 GB, free: 34.76 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002417/0.8696, allocations: 45.02 kB / 0.8417 GB, free: 34.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007498/0.8704, allocations: 1.151 MB / 0.8428 GB, free: 34.39 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.8706, allocations: 213.3 kB / 0.843 GB, free: 34.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.8709, allocations: 258.9 kB / 0.8433 GB, free: 34.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.871, allocations: 350.3 kB / 0.8436 GB, free: 33.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006509/0.8717, allocations: 357.3 kB / 0.844 GB, free: 33.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/0.8726, allocations: 0.75 MB / 0.8447 GB, free: 33.48 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.8738, allocations: 0.9779 MB / 0.8456 GB, free: 33.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.8738, allocations: 8.625 kB / 0.8457 GB, free: 33.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002357/0.8762, allocations: 1.289 MB / 0.8469 GB, free: 33 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.8762, allocations: 11.69 kB / 0.8469 GB, free: 33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.8762, allocations: 11.44 kB / 0.8469 GB, free: 33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.8763, allocations: 15.75 kB / 0.847 GB, free: 33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000927/0.8772, allocations: 255.3 kB / 0.8472 GB, free: 33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.8772, allocations: 20.2 kB / 0.8472 GB, free: 33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.879, allocations: 171.5 kB / 0.8474 GB, free: 32.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.8791, allocations: 54.28 kB / 0.8474 GB, free: 32.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001297/0.8804, allocations: 0.7564 MB / 0.8482 GB, free: 32.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007375/0.8812, allocations: 0.7354 MB / 0.8489 GB, free: 32.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001126/0.8823, allocations: 0.959 MB / 0.8498 GB, free: 32.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/0.8823, allocations: 2.438 kB / 0.8498 GB, free: 32.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002027/0.8844, allocations: 1.261 MB / 0.8511 GB, free: 31.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.8844, allocations: 6.375 kB / 0.8511 GB, free: 31.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8844, allocations: 13.56 kB / 0.8511 GB, free: 31.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.8844, allocations: 19.22 kB / 0.8511 GB, free: 31.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/0.8852, allocations: 254.7 kB / 0.8513 GB, free: 31.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.8853, allocations: 18.81 kB / 0.8514 GB, free: 31.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.8869, allocations: 121.8 kB / 0.8515 GB, free: 31.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.8e-05/0.887, allocations: 52.83 kB / 0.8515 GB, free: 31.84 MB / 0.6387 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.0002676/0.8873, allocations: 249.6 kB / 0.8518 GB, free: 31.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.8876, allocations: 237.8 kB / 0.852 GB, free: 31.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.8892, allocations: 0.8884 MB / 0.8529 GB, free: 31.45 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.8892, allocations: 7.266 kB / 0.8529 GB, free: 31.45 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8892, allocations: 0 / 0.8529 GB, free: 31.45 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008621/0.8901, allocations: 0.6836 MB / 0.8535 GB, free: 31.28 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.8939, allocations: 2.583 MB / 0.8561 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.8939, allocations: 2.406 kB / 0.8561 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.8944, allocations: 125.7 kB / 0.8562 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.8944, allocations: 5.219 kB / 0.8562 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.8945, allocations: 20.55 kB / 0.8562 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.8945, allocations: 6.375 kB / 0.8562 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.8945, allocations: 3.156 kB / 0.8562 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.8963, allocations: 1.315 MB / 0.8575 GB, free: 30.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007092/0.897, allocations: 415.7 kB / 0.8579 GB, free: 30.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.8973, allocations: 11.84 kB / 0.8579 GB, free: 30.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009977/0.8983, allocations: 49.19 kB / 0.8579 GB, free: 30.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.8984, allocations: 42 kB / 0.858 GB, free: 30.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.8985, allocations: 31.84 kB / 0.858 GB, free: 30.34 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002068/0.9006, allocations: 1.564 MB / 0.8595 GB, free: 30.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9006, allocations: 0 / 0.8595 GB, free: 30.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00305/0.9036, allocations: 1.122 MB / 0.8606 GB, free: 30.03 MB / 0.6387 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.001583/0.9052, allocations: 0.7532 MB / 0.8614 GB, free: 29.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.9075, allocations: 1.356 MB / 0.8627 GB, free: 29.83 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.9075, allocations: 3.656 kB / 0.8627 GB, free: 29.83 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.908, allocations: 330.8 kB / 0.863 GB, free: 29.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005721/0.9137, allocations: 1.382 MB / 0.8644 GB, free: 29.64 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.9187, allocations: 3.668 MB / 0.8679 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008436/0.9196, allocations: 1.59 MB / 0.8695 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002208/0.9218, allocations: 0.4941 MB / 0.87 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.9222, allocations: 170.8 kB / 0.8701 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of SimCode: time 6.02e-07/0.9222, allocations: 3.938 kB / 0.8702 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of Templates: time 0.06484/0.987, allocations: 44.71 MB / 0.9138 GB, free: 5.645 MB / 0.6544 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)