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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 105.2 kB / 18.05 MB, free: 4.32 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 186 kB / 21.17 MB, free: 1.211 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 249.7 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8712/0.8712, allocations: 137.4 MB / 442.1 MB, free: 13.78 MB / 350.1 MB [Timeout remaining time 89] 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=500,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=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 72.11 kB / 0.6134 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3891, allocations: 85.54 MB / 0.6969 GB, free: 14.88 MB / 0.5137 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.05838/0.4475, allocations: 54.61 MB / 0.7503 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02175/0.4693, allocations: 13.9 MB / 0.7638 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.4717, allocations: 79.56 kB / 0.7639 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.4746, allocations: 0.9707 MB / 0.7649 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006756/0.4813, allocations: 2.222 MB / 0.767 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00689/0.4882, allocations: 2.034 MB / 0.769 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008952/0.4972, allocations: 4.443 MB / 0.7733 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.5002, allocations: 1.305 MB / 0.7746 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006199/0.5064, allocations: 1.844 MB / 0.7764 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.5099, allocations: 1.346 MB / 0.7777 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008943/0.5107, allocations: 168 kB / 0.7779 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004972/0.5157, allocations: 1.447 MB / 0.7793 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.5171, allocations: 0.502 MB / 0.7798 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00255/0.5197, allocations: 0.9214 MB / 0.7807 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007956/0.5276, allocations: 3.099 MB / 0.7837 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.5276, allocations: 0 / 0.7837 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5277, allocations: 0 / 0.7837 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001023/0.5278, allocations: 4 kB / 0.7837 GB, free: 7.836 MB / 0.5919 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.005492/0.5332, allocations: 2.221 MB / 0.7859 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.5333, allocations: 9.703 kB / 0.7859 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.5354, allocations: 387.2 kB / 0.7863 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.5389, allocations: 1.49 MB / 0.7877 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.539, allocations: 85.98 kB / 0.7878 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.5392, allocations: 104 kB / 0.7879 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.5418, allocations: 1.199 MB / 0.7891 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.5418, allocations: 0 / 0.7891 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.5419, allocations: 44 kB / 0.7891 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.5419, allocations: 28 kB / 0.7892 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.5444, allocations: 0.9719 MB / 0.7901 GB, free: 1.156 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.008804/0.5532, allocations: 5.154 MB / 0.7951 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.5547, allocations: 0.5675 MB / 0.7957 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/0.5553, allocations: 290.2 kB / 0.796 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005191/0.5605, allocations: 2.971 MB / 0.7989 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008293/0.5614, allocations: 345.2 kB / 0.7992 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 3.396e-06/0.5614, allocations: 0 / 0.7992 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53): time 0.002314/0.5637, allocations: 0.8689 MB / 0.8 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.5637, allocations: 63.84 kB / 0.8001 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.5661, allocations: 1.392 MB / 0.8015 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.685e-05/0.5662, allocations: 37.7 kB / 0.8015 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/0.5669, allocations: 0.7515 MB / 0.8022 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.5672, allocations: 198.4 kB / 0.8024 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.5675, allocations: 206.5 kB / 0.8026 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.5677, allocations: 341.9 kB / 0.8029 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008438/0.5686, allocations: 328.7 kB / 0.8033 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.5698, allocations: 0.6686 MB / 0.8039 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.5717, allocations: 0.9774 MB / 0.8049 GB, free: 1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.5717, allocations: 11.94 kB / 0.8049 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003007/0.5747, allocations: 1.168 MB / 0.806 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/0.5748, allocations: 37.64 kB / 0.8061 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/0.5748, allocations: 12 kB / 0.8061 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.315e-05/0.5749, allocations: 24.25 kB / 0.8061 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/0.5757, allocations: 231.7 kB / 0.8063 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.001e-05/0.5758, allocations: 27.81 kB / 0.8063 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.5772, allocations: 167.7 kB / 0.8065 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.5774, allocations: 47.98 kB / 0.8065 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001467/0.5788, allocations: 0.5995 MB / 0.8071 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001142/0.58, allocations: 0.6725 MB / 0.8078 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001817/0.5818, allocations: 0.9774 MB / 0.8087 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.232e-06/0.5818, allocations: 4 kB / 0.8087 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.002729/0.5845, allocations: 1.164 MB / 0.8099 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.5846, allocations: 33.7 kB / 0.8099 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.5846, allocations: 12 kB / 0.8099 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5846, allocations: 16 kB / 0.8099 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/0.5854, allocations: 235.8 kB / 0.8102 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.531e-05/0.5854, allocations: 27.86 kB / 0.8102 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.5865, allocations: 132.1 kB / 0.8103 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.5866, allocations: 51.98 kB / 0.8104 GB, free: 11.01 MB / 0.6231 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.0003271/0.587, allocations: 241.3 kB / 0.8106 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.5872, allocations: 155 kB / 0.8107 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.5896, allocations: 1.129 MB / 0.8118 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/0.5912, allocations: 0.886 MB / 0.8127 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5912, allocations: 4 kB / 0.8127 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/0.5917, allocations: 339.7 kB / 0.813 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5919, allocations: 12 kB / 0.8131 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.5925, allocations: 51.95 kB / 0.8131 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.5927, allocations: 48.58 kB / 0.8131 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002078/0.5947, allocations: 0.9328 MB / 0.8141 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002607/0.5973, allocations: 1.501 MB / 0.8155 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006677/0.598, allocations: 349.4 kB / 0.8159 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001485/0.5995, allocations: 0.9445 MB / 0.8168 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of Backend: time 3.4e-07/0.5995, allocations: 3.938 kB / 0.8168 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004293/0.6038, allocations: 1.661 MB / 0.8184 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of SimCode: time 0.006062/0.6099, allocations: 3.578 MB / 0.8219 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of Templates: time 0.06376/0.6736, allocations: 37.33 MB / 0.8584 GB, free: 10.09 MB / 0.67 GB [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.makefile [Timeout 660] (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) [Timeout 480]