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.005753/0.005753, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.001173/0.001174, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7638/0.7638, allocations: 132.2 MB / 422.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 61.97 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1571, allocations: 80.21 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4533/0.6105, allocations: 112.6 MB / 0.7697 GB, free: 25.12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02719/0.6377, allocations: 20.21 MB / 0.7894 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004364/0.6421, allocations: 104.5 kB / 0.7895 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003324/0.6455, allocations: 1.277 MB / 0.7908 GB, free: 22.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009745/0.6553, allocations: 3.68 MB / 0.7944 GB, free: 21.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006789/0.6621, allocations: 3.115 MB / 0.7974 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009723/0.6718, allocations: 7.201 MB / 0.8044 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003368/0.6752, allocations: 2.579 MB / 0.8069 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00666/0.6819, allocations: 2.817 MB / 0.8097 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003845/0.6858, allocations: 2.124 MB / 0.8118 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004881/0.6863, allocations: 255.2 kB / 0.812 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.6902, allocations: 1.649 MB / 0.8136 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005375/0.6907, allocations: 0.6933 MB / 0.8143 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.6923, allocations: 1.511 MB / 0.8158 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005168/0.6975, allocations: 4.421 MB / 0.8201 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6975, allocations: 0 / 0.8201 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6975, allocations: 0 / 0.8201 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.963e-05/0.6976, allocations: 2.469 kB / 0.8201 GB, free: 6.789 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.004222/0.7018, allocations: 3.319 MB / 0.8233 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.7019, allocations: 8.469 kB / 0.8233 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/0.7026, allocations: 344.5 kB / 0.8237 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.7055, allocations: 2.218 MB / 0.8258 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.7056, allocations: 126.3 kB / 0.826 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.7058, allocations: 171.9 kB / 0.8261 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.708, allocations: 1.611 MB / 0.8277 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.708, allocations: 0 / 0.8277 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.7081, allocations: 71.94 kB / 0.8278 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.7082, allocations: 36 kB / 0.8278 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.71, allocations: 1.149 MB / 0.8289 GB, free: 15.41 MB / 0.5919 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.009818/0.7198, allocations: 7.938 MB / 0.8367 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/0.7206, allocations: 481.9 kB / 0.8371 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004547/0.7211, allocations: 319 kB / 0.8374 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/0.7216, allocations: 0.7538 MB / 0.8382 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.7217, allocations: 47.06 kB / 0.8382 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.124e-06/0.7217, allocations: 0 / 0.8382 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001939/0.7236, allocations: 1.001 MB / 0.8392 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.7237, allocations: 59.97 kB / 0.8393 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.7265, allocations: 2.332 MB / 0.8415 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.7267, allocations: 49.7 kB / 0.8416 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00086/0.7275, allocations: 1.16 MB / 0.8427 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.7277, allocations: 224.1 kB / 0.8429 GB, free: 420 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.7281, allocations: 267.4 kB / 0.8432 GB, free: 144 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7282, allocations: 345.9 kB / 0.8435 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.7288, allocations: 361.9 kB / 0.8439 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009567/0.7298, allocations: 0.7481 MB / 0.8446 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.7312, allocations: 0.9862 MB / 0.8456 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.7312, allocations: 4 kB / 0.8456 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002345/0.7335, allocations: 1.304 MB / 0.8468 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.7336, allocations: 8 kB / 0.8468 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.7336, allocations: 8 kB / 0.8468 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.7336, allocations: 12 kB / 0.8469 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/0.7345, allocations: 255.6 kB / 0.8471 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.7346, allocations: 15.94 kB / 0.8471 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.7361, allocations: 179.2 kB / 0.8473 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.97e-05/0.7362, allocations: 51.98 kB / 0.8473 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001326/0.7375, allocations: 0.7603 MB / 0.8481 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009139/0.7384, allocations: 0.7462 MB / 0.8488 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001259/0.7397, allocations: 0.9408 MB / 0.8497 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.7397, allocations: 8 kB / 0.8497 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002333/0.742, allocations: 1.271 MB / 0.851 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.7421, allocations: 8 kB / 0.851 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.7421, allocations: 8 kB / 0.851 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.7421, allocations: 20.8 kB / 0.851 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008507/0.743, allocations: 247.6 kB / 0.8512 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.743, allocations: 23.88 kB / 0.8513 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.7445, allocations: 127.3 kB / 0.8514 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/0.7446, allocations: 55.98 kB / 0.8514 GB, free: 7.129 MB / 0.6075 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.0002858/0.7449, allocations: 251.9 kB / 0.8517 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/0.7452, allocations: 246.7 kB / 0.8519 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.7469, allocations: 0.8822 MB / 0.8528 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.7469, allocations: 15.98 kB / 0.8528 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.747, allocations: 0 / 0.8528 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.748, allocations: 0.6853 MB / 0.8535 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.7517, allocations: 2.582 MB / 0.856 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.7517, allocations: 8.094 kB / 0.856 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.7522, allocations: 127.8 kB / 0.8561 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.7522, allocations: 4 kB / 0.8561 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.7522, allocations: 12 kB / 0.8561 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.7523, allocations: 4 kB / 0.8561 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7523, allocations: 7.938 kB / 0.8561 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.7542, allocations: 1.323 MB / 0.8574 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/0.7549, allocations: 439.2 kB / 0.8579 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.7551, allocations: 12 kB / 0.8579 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000889/0.756, allocations: 43.94 kB / 0.8579 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.7561, allocations: 40.45 kB / 0.8579 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.7562, allocations: 43.91 kB / 0.858 GB, free: 280 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002127/0.7583, allocations: 1.562 MB / 0.8595 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7583, allocations: 0 / 0.8595 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002516/0.7608, allocations: 1.119 MB / 0.8606 GB, free: 13.59 MB / 0.6231 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.001509/0.7624, allocations: 0.7672 MB / 0.8614 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.7647, allocations: 1.358 MB / 0.8627 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7647, allocations: 0 / 0.8627 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004966/0.7652, allocations: 324.6 kB / 0.863 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/0.7705, allocations: 1.381 MB / 0.8643 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/0.7759, allocations: 3.749 MB / 0.868 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.777, allocations: 1.594 MB / 0.8696 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001756/0.7788, allocations: 494.6 kB / 0.87 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.7791, allocations: 179.4 kB / 0.8702 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of SimCode: time 4.3e-07/0.7791, allocations: 0 / 0.8702 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of Templates: time 0.06524/0.8444, allocations: 44.71 MB / 0.9139 GB, free: 7.707 MB / 0.67 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)