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.0008827/0.0008825, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007807/0.007807, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9935/0.9935, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 8.719 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 82.31 MB / 0.588 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5388/0.7477, allocations: 110.1 MB / 0.6955 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0391/0.7869, allocations: 20.09 MB / 0.7151 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007481/0.7944, allocations: 90.34 kB / 0.7152 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005837/0.8003, allocations: 1.038 MB / 0.7162 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01641/0.8167, allocations: 3.383 MB / 0.7195 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01091/0.8277, allocations: 2.855 MB / 0.7223 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02027/0.848, allocations: 9.513 MB / 0.7316 GB, free: 6.031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005678/0.8537, allocations: 2.08 MB / 0.7336 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00809/0.8618, allocations: 2.322 MB / 0.7359 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005238/0.8671, allocations: 2.036 MB / 0.7379 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007349/0.8679, allocations: 90.47 kB / 0.738 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005575/0.8735, allocations: 1.447 MB / 0.7394 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.8746, allocations: 0.5132 MB / 0.7399 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002921/0.8775, allocations: 1.334 MB / 0.7412 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007289/0.8848, allocations: 4.15 MB / 0.7453 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.8849, allocations: 4 kB / 0.7453 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8849, allocations: 3.938 kB / 0.7453 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.77e-05/0.885, allocations: 0 / 0.7453 GB, free: 11.11 MB / 0.5606 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.005729/0.8907, allocations: 2.692 MB / 0.7479 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.8908, allocations: 8.031 kB / 0.7479 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009051/0.8917, allocations: 332.2 kB / 0.7482 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004739/0.8964, allocations: 2.151 MB / 0.7503 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.8966, allocations: 127 kB / 0.7504 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/0.8969, allocations: 167.9 kB / 0.7506 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0035/0.9004, allocations: 1.62 MB / 0.7522 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.9005, allocations: 0 / 0.7522 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.9006, allocations: 64 kB / 0.7522 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/0.9007, allocations: 55.81 kB / 0.7523 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.903, allocations: 1.155 MB / 0.7534 GB, free: 2.551 MB / 0.5606 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.01662/0.9196, allocations: 7.908 MB / 0.7611 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.9207, allocations: 482 kB / 0.7616 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.9212, allocations: 330.9 kB / 0.7619 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008306/0.922, allocations: 0.7485 MB / 0.7627 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.9221, allocations: 43.12 kB / 0.7627 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.126e-06/0.9221, allocations: 4 kB / 0.7627 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002301/0.9244, allocations: 0.9998 MB / 0.7637 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.9245, allocations: 63.97 kB / 0.7637 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/0.9282, allocations: 2.316 MB / 0.766 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.9284, allocations: 41.7 kB / 0.766 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.9296, allocations: 1.153 MB / 0.7672 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.9299, allocations: 216.9 kB / 0.7674 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.93, allocations: 105.7 kB / 0.7675 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.9302, allocations: 353.9 kB / 0.7678 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007124/0.9309, allocations: 354.5 kB / 0.7681 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009817/0.9319, allocations: 0.7541 MB / 0.7689 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.9334, allocations: 0.9902 MB / 0.7698 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.9335, allocations: 7.938 kB / 0.7699 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00276/0.9362, allocations: 1.299 MB / 0.7711 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.9365, allocations: 345.3 kB / 0.7715 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.9366, allocations: 12 kB / 0.7715 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.9366, allocations: 16 kB / 0.7715 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009893/0.9376, allocations: 251.6 kB / 0.7717 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.9376, allocations: 19.92 kB / 0.7717 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.9398, allocations: 254.1 kB / 0.772 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.9399, allocations: 51.98 kB / 0.772 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.9399, allocations: 7.938 kB / 0.772 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001798/0.9417, allocations: 1.038 MB / 0.7731 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.9417, allocations: 8 kB / 0.7731 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.9417, allocations: 12 kB / 0.7731 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.9427, allocations: 247.6 kB / 0.7733 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.9427, allocations: 19.94 kB / 0.7733 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.9447, allocations: 230.9 kB / 0.7735 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.9448, allocations: 47.98 kB / 0.7736 GB, free: 12.74 MB / 0.5919 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.001271/0.946, allocations: 0.5749 MB / 0.7742 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/0.9465, allocations: 237 kB / 0.7744 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.9482, allocations: 0.9033 MB / 0.7753 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.9483, allocations: 8 kB / 0.7753 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9483, allocations: 0 / 0.7753 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/0.9493, allocations: 0.6931 MB / 0.7759 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.9535, allocations: 2.586 MB / 0.7785 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.9535, allocations: 0 / 0.7785 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/0.9541, allocations: 127.8 kB / 0.7786 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/0.9541, allocations: 4 kB / 0.7786 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.9542, allocations: 19.92 kB / 0.7786 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.9542, allocations: 4 kB / 0.7786 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.9542, allocations: 4 kB / 0.7786 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.9563, allocations: 1.329 MB / 0.7799 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.9574, allocations: 457.8 kB / 0.7804 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.9576, allocations: 12 kB / 0.7804 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.9588, allocations: 119.6 kB / 0.7805 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.9589, allocations: 52.69 kB / 0.7805 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.959, allocations: 31.98 kB / 0.7806 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002506/0.9615, allocations: 1.554 MB / 0.7821 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9615, allocations: 0 / 0.7821 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003416/0.9649, allocations: 1.095 MB / 0.7832 GB, free: 2.766 MB / 0.5919 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.001863/0.9668, allocations: 0.732 MB / 0.7839 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002933/0.9698, allocations: 1.37 MB / 0.7852 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.9698, allocations: 4 kB / 0.7852 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005816/0.9704, allocations: 335 kB / 0.7855 GB, free: 492 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008173/0.9786, allocations: 1.385 MB / 0.7869 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008292/0.9869, allocations: 4.607 MB / 0.7914 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.9887, allocations: 1.594 MB / 0.7929 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003009/0.9918, allocations: 498.7 kB / 0.7934 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.9923, allocations: 171.4 kB / 0.7936 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of SimCode: time 1.203e-06/0.9923, allocations: 0 / 0.7936 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.08974/1.082, allocations: 44.95 MB / 0.8375 GB, free: 11.71 MB / 0.6544 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)