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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6982/0.6982, allocations: 133.3 MB / 150.1 MB, free: 11.19 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 404.7 MB, free: 6.148 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 115 kB / 485.9 MB, free: 7.293 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009562/0.0009562, allocations: 47.92 kB / 0.5636 GB, free: 69.99 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1321, allocations: 80.43 MB / 0.6421 GB, free: 5.496 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3862/0.5184, allocations: 111.9 MB / 0.7514 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.03079/0.5492, allocations: 20.29 MB / 0.7712 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004449/0.5537, allocations: 104.8 kB / 0.7713 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003816/0.5575, allocations: 1.039 MB / 0.7724 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00999/0.5676, allocations: 3.375 MB / 0.7756 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.007287/0.5749, allocations: 2.845 MB / 0.7784 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01177/0.5867, allocations: 9.564 MB / 0.7878 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004355/0.591, allocations: 2.148 MB / 0.7899 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005839/0.5969, allocations: 2.419 MB / 0.7922 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004057/0.601, allocations: 2.131 MB / 0.7943 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0008601/0.6019, allocations: 120 kB / 0.7944 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004492/0.6064, allocations: 1.474 MB / 0.7959 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0009721/0.6074, allocations: 0.5561 MB / 0.7964 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.6094, allocations: 1.379 MB / 0.7978 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004891/0.6143, allocations: 4.249 MB / 0.8019 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6144, allocations: 0 / 0.8019 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.62e-07/0.6144, allocations: 0 / 0.8019 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.142e-05/0.6144, allocations: 4 kB / 0.8019 GB, free: 2.23 MB / 0.5261 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.004947/0.6194, allocations: 3.226 MB / 0.8051 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6194, allocations: 11.97 kB / 0.8051 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000641/0.6201, allocations: 320.3 kB / 0.8054 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003381/0.6235, allocations: 2.147 MB / 0.8075 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.843e-05/0.6236, allocations: 131 kB / 0.8076 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.6238, allocations: 168 kB / 0.8078 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.6262, allocations: 1.615 MB / 0.8093 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.6263, allocations: 0 / 0.8093 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.6264, allocations: 64 kB / 0.8094 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/0.6265, allocations: 39.94 kB / 0.8094 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.6284, allocations: 1.151 MB / 0.8106 GB, free: 9.16 MB / 0.5417 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.009327/0.6378, allocations: 7.885 MB / 0.8183 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.6386, allocations: 489.7 kB / 0.8187 GB, free: 284 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.6391, allocations: 319 kB / 0.819 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/0.6397, allocations: 0.7562 MB / 0.8198 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.6397, allocations: 43.12 kB / 0.8198 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 1.834e-06/0.6397, allocations: 3.938 kB / 0.8198 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.001755/0.6415, allocations: 0.9881 MB / 0.8208 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.6415, allocations: 59.97 kB / 0.8208 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.6443, allocations: 2.312 MB / 0.8231 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.319e-05/0.6443, allocations: 41.7 kB / 0.8231 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000949/0.6453, allocations: 1.157 MB / 0.8243 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.6455, allocations: 217 kB / 0.8245 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.6459, allocations: 262.5 kB / 0.8247 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.646, allocations: 345.9 kB / 0.825 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006296/0.6466, allocations: 361.9 kB / 0.8254 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009273/0.6476, allocations: 0.7514 MB / 0.8261 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.649, allocations: 0.9785 MB / 0.8271 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.649, allocations: 3.938 kB / 0.8271 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002079/0.6511, allocations: 1.291 MB / 0.8283 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6511, allocations: 8 kB / 0.8284 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.6511, allocations: 8 kB / 0.8284 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.6511, allocations: 16 kB / 0.8284 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009048/0.652, allocations: 251.6 kB / 0.8286 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.6521, allocations: 23.92 kB / 0.8286 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.6536, allocations: 250.6 kB / 0.8289 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.764e-05/0.6537, allocations: 51.98 kB / 0.8289 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001134/0.6548, allocations: 0.7602 MB / 0.8297 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008477/0.6557, allocations: 0.7426 MB / 0.8304 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001242/0.6569, allocations: 0.9563 MB / 0.8313 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.6569, allocations: 0 / 0.8313 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001884/0.6588, allocations: 1.258 MB / 0.8326 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.6588, allocations: 11.94 kB / 0.8326 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6589, allocations: 16.08 kB / 0.8326 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6589, allocations: 16 kB / 0.8326 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008375/0.6597, allocations: 247.6 kB / 0.8328 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/0.6598, allocations: 19.94 kB / 0.8329 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.6611, allocations: 183 kB / 0.833 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.6612, allocations: 55.98 kB / 0.8331 GB, free: 0.7539 MB / 0.5573 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.0001999/0.6614, allocations: 249.2 kB / 0.8333 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.6617, allocations: 233.1 kB / 0.8335 GB, free: 280 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.6633, allocations: 0.8896 MB / 0.8344 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6633, allocations: 8 kB / 0.8344 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6633, allocations: 3.938 kB / 0.8344 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009707/0.6643, allocations: 0.6853 MB / 0.8351 GB, free: 14.65 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.6677, allocations: 2.566 MB / 0.8376 GB, free: 12.01 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6678, allocations: 0 / 0.8376 GB, free: 12.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.6683, allocations: 131.8 kB / 0.8377 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6683, allocations: 4 kB / 0.8377 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.6683, allocations: 16 kB / 0.8377 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.6684, allocations: 7.984 kB / 0.8377 GB, free: 11.85 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6684, allocations: 0 / 0.8377 GB, free: 11.85 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/0.6849, allocations: 9.451 MB / 0.847 GB, free: 2.082 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006482/0.6855, allocations: 417.9 kB / 0.8474 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.6858, allocations: 23.92 kB / 0.8474 GB, free: 1.629 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.6868, allocations: 107.7 kB / 0.8475 GB, free: 1.523 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.6869, allocations: 44.5 kB / 0.8475 GB, free: 1.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.687, allocations: 31.97 kB / 0.8476 GB, free: 1.449 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001957/0.6889, allocations: 1.554 MB / 0.8491 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6889, allocations: 3.938 kB / 0.8491 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004405/0.6934, allocations: 1.732 MB / 0.8508 GB, free: 14.15 MB / 0.5886 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.001566/0.6949, allocations: 0.756 MB / 0.8515 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002341/0.6973, allocations: 1.355 MB / 0.8528 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6973, allocations: 0 / 0.8528 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.6978, allocations: 319 kB / 0.8532 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006171/0.704, allocations: 1.385 MB / 0.8545 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/0.7102, allocations: 4.97 MB / 0.8594 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.7114, allocations: 1.609 MB / 0.8609 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00191/0.7133, allocations: 0.505 MB / 0.8614 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.7137, allocations: 179.4 kB / 0.8616 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of SimCode: time 7.72e-07/0.7137, allocations: 0 / 0.8616 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of Templates: time 0.07531/0.789, allocations: 47.99 MB / 0.9085 GB, free: 3.566 MB / 0.6355 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)