Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.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.Simplified.Examples.ThreeWayValveSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch") translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 113 kB / 16.42 MB, free: 6.449 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.00117/0.00117, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7907/0.7907, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.08 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1556, allocations: 80.93 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpEmission.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch): time 0.0523/0.2079, allocations: 54.2 MB / 0.7183 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01873/0.2267, allocations: 13.86 MB / 0.7318 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.2294, allocations: 75.56 kB / 0.7319 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.2325, allocations: 0.959 MB / 0.7328 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.2388, allocations: 2.219 MB / 0.735 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005521/0.2444, allocations: 2.016 MB / 0.7369 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006383/0.2508, allocations: 4.439 MB / 0.7413 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.2533, allocations: 1.575 MB / 0.7428 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00429/0.2576, allocations: 1.841 MB / 0.7446 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.2595, allocations: 1.268 MB / 0.7458 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002614/0.2598, allocations: 164 kB / 0.746 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.2628, allocations: 1.42 MB / 0.7474 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000526/0.2633, allocations: 486.5 kB / 0.7478 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009474/0.2643, allocations: 0.933 MB / 0.7488 GB, free: 48 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.347/0.6113, allocations: 3.075 MB / 0.7518 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6113, allocations: 2.531 kB / 0.7518 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6113, allocations: 0 / 0.7518 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.233e-05/0.6114, allocations: 0 / 0.7518 GB, free: 10.36 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004211/0.6156, allocations: 2.159 MB / 0.7539 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.6157, allocations: 10.08 kB / 0.7539 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.6176, allocations: 377.2 kB / 0.7542 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.6206, allocations: 1.481 MB / 0.7557 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.6206, allocations: 78.72 kB / 0.7558 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.6208, allocations: 106.6 kB / 0.7559 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.6234, allocations: 1.2 MB / 0.757 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.6234, allocations: 1 kB / 0.757 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.6235, allocations: 42.69 kB / 0.7571 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.6235, allocations: 26.56 kB / 0.7571 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.6259, allocations: 0.9676 MB / 0.7581 GB, free: 8.633 MB / 0.5762 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.008099/0.634, allocations: 5.14 MB / 0.7631 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.6354, allocations: 0.6074 MB / 0.7637 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.6362, allocations: 293.4 kB / 0.7639 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004066/0.6402, allocations: 2.997 MB / 0.7669 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007373/0.641, allocations: 338 kB / 0.7672 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.634e-06/0.641, allocations: 0 / 0.7672 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002054/0.6431, allocations: 0.8582 MB / 0.768 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.6431, allocations: 62.28 kB / 0.7681 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.6452, allocations: 1.393 MB / 0.7695 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.6452, allocations: 39.98 kB / 0.7695 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/0.6457, allocations: 0.7337 MB / 0.7702 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.6459, allocations: 187.1 kB / 0.7704 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.6462, allocations: 208.7 kB / 0.7706 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.6463, allocations: 343 kB / 0.7709 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.647, allocations: 330.2 kB / 0.7712 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009932/0.648, allocations: 0.6714 MB / 0.7719 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.6498, allocations: 0.9793 MB / 0.7728 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.6498, allocations: 2.656 kB / 0.7728 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00247/0.6523, allocations: 1.163 MB / 0.774 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.6524, allocations: 36.67 kB / 0.774 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.6524, allocations: 9.906 kB / 0.774 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.6524, allocations: 16.28 kB / 0.774 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/0.6532, allocations: 237.5 kB / 0.7743 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/0.6532, allocations: 22.48 kB / 0.7743 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.6546, allocations: 167 kB / 0.7744 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.6547, allocations: 53.59 kB / 0.7745 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001309/0.656, allocations: 0.6031 MB / 0.7751 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00094/0.657, allocations: 0.6669 MB / 0.7757 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001477/0.6585, allocations: 0.9835 MB / 0.7767 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.883e-06/0.6585, allocations: 3.5 kB / 0.7767 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.002483/0.661, allocations: 1.151 MB / 0.7778 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.661, allocations: 39.86 kB / 0.7779 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.661, allocations: 10.75 kB / 0.7779 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6611, allocations: 21.83 kB / 0.7779 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008091/0.6619, allocations: 228.9 kB / 0.7781 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.6619, allocations: 27.45 kB / 0.7781 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.6632, allocations: 123.7 kB / 0.7783 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/0.6633, allocations: 52.53 kB / 0.7783 GB, free: 0.7734 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 (threeWayValveSwitch.switch,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 113 * Array equations: 1 * Algorithm blocks: 1 * 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.0003207/0.6636, allocations: 251.5 kB / 0.7785 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.6638, allocations: 147.7 kB / 0.7787 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.6662, allocations: 1.121 MB / 0.7798 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/0.6676, allocations: 0.8864 MB / 0.7806 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.6676, allocations: 4.375 kB / 0.7806 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006724/0.6683, allocations: 337.9 kB / 0.781 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.6685, allocations: 14.91 kB / 0.781 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.6691, allocations: 50.8 kB / 0.781 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.6693, allocations: 46.2 kB / 0.7811 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001913/0.6712, allocations: 0.9225 MB / 0.782 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002334/0.6736, allocations: 1.5 MB / 0.7834 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006192/0.6742, allocations: 385.8 kB / 0.7838 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001378/0.6756, allocations: 0.9432 MB / 0.7847 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of Backend: time 5.21e-07/0.6756, allocations: 0 / 0.7847 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004608/0.6802, allocations: 1.736 MB / 0.7864 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006103/0.6863, allocations: 3.492 MB / 0.7898 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.05781/0.7441, allocations: 36.81 MB / 0.8258 GB, free: 5.473 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe 2>&1)