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.00129/0.00129, allocations: 105.7 kB / 16.41 MB, free: 6.461 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.001268/0.001268, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8455/0.8455, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 69.16 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5096/0.6751, allocations: 112.6 MB / 0.7753 GB, free: 21.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03095/0.7061, allocations: 20.21 MB / 0.795 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005905/0.712, allocations: 107.9 kB / 0.7951 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004482/0.7165, allocations: 1.277 MB / 0.7964 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.7287, allocations: 3.689 MB / 0.8 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008818/0.7376, allocations: 3.112 MB / 0.803 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.7487, allocations: 7.198 MB / 0.8101 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004522/0.7532, allocations: 2.589 MB / 0.8126 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007348/0.7606, allocations: 2.877 MB / 0.8154 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.765, allocations: 2.132 MB / 0.8175 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.7662, allocations: 252 kB / 0.8177 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00521/0.7714, allocations: 1.647 MB / 0.8193 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.7727, allocations: 0.6917 MB / 0.82 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003406/0.7761, allocations: 1.516 MB / 0.8215 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008147/0.7843, allocations: 4.397 MB / 0.8258 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.7844, allocations: 0.625 kB / 0.8258 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7844, allocations: 4 kB / 0.8258 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001717/0.7846, allocations: 0.625 kB / 0.8258 GB, free: 0.8477 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.008438/0.793, allocations: 3.227 MB / 0.8289 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.7931, allocations: 9.672 kB / 0.8289 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.7944, allocations: 326.4 kB / 0.8293 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/0.7993, allocations: 2.217 MB / 0.8314 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.7995, allocations: 123 kB / 0.8315 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/0.7999, allocations: 164 kB / 0.8317 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/0.8035, allocations: 1.604 MB / 0.8333 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/0.8036, allocations: 0 / 0.8333 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/0.8038, allocations: 67.94 kB / 0.8333 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/0.8039, allocations: 51.94 kB / 0.8334 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.8063, allocations: 1.143 MB / 0.8345 GB, free: 8.762 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.01296/0.8193, allocations: 7.91 MB / 0.8422 GB, free: 348 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/0.8203, allocations: 474 kB / 0.8427 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.8208, allocations: 323 kB / 0.843 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007081/0.8215, allocations: 0.7523 MB / 0.8437 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.8216, allocations: 43.12 kB / 0.8438 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.665e-06/0.8216, allocations: 0 / 0.8438 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.002428/0.824, allocations: 0.9881 MB / 0.8447 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.8241, allocations: 59.97 kB / 0.8448 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/0.8285, allocations: 2.335 MB / 0.8471 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.8287, allocations: 49.7 kB / 0.8471 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.83, allocations: 1.157 MB / 0.8482 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.8303, allocations: 216.9 kB / 0.8484 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005242/0.8309, allocations: 254.6 kB / 0.8487 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.831, allocations: 349.9 kB / 0.849 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007788/0.8318, allocations: 361.9 kB / 0.8494 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.8329, allocations: 0.7463 MB / 0.8501 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.8345, allocations: 0.9823 MB / 0.851 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.8345, allocations: 4 kB / 0.8511 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002841/0.8374, allocations: 1.292 MB / 0.8523 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.8374, allocations: 8 kB / 0.8523 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.8374, allocations: 12.09 kB / 0.8523 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.378e-05/0.8375, allocations: 16 kB / 0.8523 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/0.8384, allocations: 251.6 kB / 0.8526 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.391e-05/0.8385, allocations: 19.92 kB / 0.8526 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.8404, allocations: 170.3 kB / 0.8528 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.8405, allocations: 55.98 kB / 0.8528 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001533/0.842, allocations: 0.7602 MB / 0.8536 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009839/0.843, allocations: 0.7308 MB / 0.8543 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001424/0.8445, allocations: 0.9565 MB / 0.8552 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.915e-06/0.8445, allocations: 0 / 0.8552 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002667/0.8472, allocations: 1.27 MB / 0.8565 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.8472, allocations: 8 kB / 0.8565 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.8472, allocations: 8 kB / 0.8565 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.8472, allocations: 19.94 kB / 0.8565 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.8482, allocations: 247.6 kB / 0.8567 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/0.8482, allocations: 19.92 kB / 0.8567 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.8501, allocations: 131.3 kB / 0.8569 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.8502, allocations: 51.98 kB / 0.8569 GB, free: 476 kB / 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.0003743/0.8506, allocations: 247.9 kB / 0.8572 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007927/0.8514, allocations: 241 kB / 0.8574 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.8535, allocations: 0.878 MB / 0.8582 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.8535, allocations: 4 kB / 0.8582 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.8535, allocations: 0 / 0.8582 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.8545, allocations: 0.6853 MB / 0.8589 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005145/0.8597, allocations: 2.586 MB / 0.8614 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.8597, allocations: 0 / 0.8614 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.8603, allocations: 131.7 kB / 0.8616 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.8603, allocations: 4 kB / 0.8616 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.8604, allocations: 23.92 kB / 0.8616 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.8604, allocations: 4.094 kB / 0.8616 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.8604, allocations: 7.938 kB / 0.8616 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.8629, allocations: 1.313 MB / 0.8629 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.864, allocations: 422 kB / 0.8633 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006439/0.8646, allocations: 12 kB / 0.8633 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.866, allocations: 43.86 kB / 0.8633 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.8662, allocations: 44.44 kB / 0.8634 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/0.8663, allocations: 35.97 kB / 0.8634 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003043/0.8693, allocations: 1.562 MB / 0.8649 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8693, allocations: 0 / 0.8649 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004192/0.8735, allocations: 1.115 MB / 0.866 GB, free: 6.941 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.002048/0.8756, allocations: 0.7426 MB / 0.8668 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002847/0.8785, allocations: 1.363 MB / 0.8681 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.8785, allocations: 4 kB / 0.8681 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.8791, allocations: 327 kB / 0.8684 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007493/0.8866, allocations: 1.387 MB / 0.8698 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/0.8941, allocations: 3.732 MB / 0.8734 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.8957, allocations: 1.582 MB / 0.8749 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007115/0.8964, allocations: 191.4 kB / 0.8751 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of SimCode: time 1.483e-06/0.8964, allocations: 0 / 0.8751 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of Templates: time 0.0625/0.9589, allocations: 39.77 MB / 0.914 GB, free: 6.176 MB / 0.67 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)