Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00152/0.00152, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 195.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.394/0.394, allocations: 54.94 MB / 324.7 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.154, allocations: 59.59 MB / 454.9 MB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3871/0.5411, allocations: 78.47 MB / 0.5209 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04112/0.5823, allocations: 16.19 MB / 0.5367 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006905/0.5893, allocations: 76.59 kB / 0.5368 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004213/0.5936, allocations: 0.8779 MB / 0.5376 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.6042, allocations: 2.38 MB / 0.54 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006496/0.6107, allocations: 1.625 MB / 0.5416 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008816/0.6195, allocations: 4.607 MB / 0.546 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/0.6231, allocations: 1.582 MB / 0.5476 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006264/0.6294, allocations: 1.811 MB / 0.5494 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003907/0.6333, allocations: 1.427 MB / 0.5508 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008733/0.6342, allocations: 171.9 kB / 0.5509 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004735/0.639, allocations: 1.197 MB / 0.5521 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.6401, allocations: 450.4 kB / 0.5525 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002852/0.6429, allocations: 0.9835 MB / 0.5535 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00703/0.65, allocations: 2.82 MB / 0.5562 GB, free: 5.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.65, allocations: 0 / 0.5562 GB, free: 5.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.65, allocations: 0 / 0.5562 GB, free: 5.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001674/0.6502, allocations: 0 / 0.5562 GB, free: 5.066 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.005001/0.6552, allocations: 2.159 MB / 0.5583 GB, free: 2.855 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.6553, allocations: 8.031 kB / 0.5583 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/0.656, allocations: 217.8 kB / 0.5586 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.6584, allocations: 1.313 MB / 0.5598 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.6585, allocations: 86.17 kB / 0.5599 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.6587, allocations: 124 kB / 0.56 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.6625, allocations: 1.548 MB / 0.5616 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.6625, allocations: 11.94 kB / 0.5616 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.6626, allocations: 48 kB / 0.5616 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/0.6627, allocations: 35.94 kB / 0.5616 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003233/0.6659, allocations: 1.136 MB / 0.5628 GB, free: 14.17 MB / 446.1 MB 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.008654/0.6746, allocations: 6.775 MB / 0.5694 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.6769, allocations: 0.66 MB / 0.57 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.6773, allocations: 216 kB / 0.5702 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.6776, allocations: 182.5 kB / 0.5704 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.6776, allocations: 38.89 kB / 0.5704 GB, free: 5.844 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.284e-06/0.6776, allocations: 0 / 0.5704 GB, free: 5.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.008612/0.6862, allocations: 2.547 MB / 0.5729 GB, free: 3.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.6863, allocations: 136.5 kB / 0.573 GB, free: 3.066 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.6885, allocations: 1.48 MB / 0.5745 GB, free: 1.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.6886, allocations: 37.7 kB / 0.5745 GB, free: 1.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000705/0.6893, allocations: 0.7818 MB / 0.5753 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.6895, allocations: 153.8 kB / 0.5754 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.6898, allocations: 198.4 kB / 0.5756 GB, free: 404 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.69, allocations: 341.9 kB / 0.576 GB, free: 56 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.6911, allocations: 389.6 kB / 0.5763 GB, free: 15.67 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.6924, allocations: 0.6837 MB / 0.577 GB, free: 14.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.6945, allocations: 1.001 MB / 0.578 GB, free: 13.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.6946, allocations: 0 / 0.578 GB, free: 13.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002972/0.6976, allocations: 1.21 MB / 0.5792 GB, free: 12.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.6976, allocations: 8 kB / 0.5792 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.6976, allocations: 8 kB / 0.5792 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.381e-05/0.6977, allocations: 12 kB / 0.5792 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.6988, allocations: 268.1 kB / 0.5794 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-05/0.6989, allocations: 23.86 kB / 0.5795 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.7002, allocations: 96.69 kB / 0.5795 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.7003, allocations: 43.98 kB / 0.5796 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00109/0.7014, allocations: 0.5449 MB / 0.5801 GB, free: 11.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007838/0.7022, allocations: 0.5713 MB / 0.5807 GB, free: 10.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00111/0.7033, allocations: 0.7708 MB / 0.5814 GB, free: 9.934 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/0.7034, allocations: 4 kB / 0.5814 GB, free: 9.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.00167/0.705, allocations: 0.9658 MB / 0.5824 GB, free: 8.957 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.7051, allocations: 12 kB / 0.5824 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7051, allocations: 12.12 kB / 0.5824 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.7051, allocations: 12 kB / 0.5824 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.7058, allocations: 207.6 kB / 0.5826 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.7058, allocations: 22.19 kB / 0.5826 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.7068, allocations: 59.89 kB / 0.5827 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.7069, allocations: 40 kB / 0.5827 GB, free: 8.602 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (112): * Single equations (assignments): 112 * 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.0002691/0.7071, allocations: 232 kB / 0.583 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.7074, allocations: 154.1 kB / 0.5831 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.7098, allocations: 0.9194 MB / 0.584 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.7099, allocations: 11.98 kB / 0.584 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7099, allocations: 3.938 kB / 0.584 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002075/0.712, allocations: 1.055 MB / 0.585 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/0.716, allocations: 2.166 MB / 0.5872 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.716, allocations: 0 / 0.5872 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.7167, allocations: 135.8 kB / 0.5873 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.7169, allocations: 78.3 kB / 0.5874 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.717, allocations: 16.03 kB / 0.5874 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000845/0.7178, allocations: 1.164 MB / 0.5885 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7178, allocations: 1.188 kB / 0.5885 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.7209, allocations: 1.375 MB / 0.5899 GB, free: 1.023 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/0.7215, allocations: 303.1 kB / 0.5901 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.7217, allocations: 12 kB / 0.5902 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7228, allocations: 79.91 kB / 0.5902 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.7229, allocations: 35.89 kB / 0.5903 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.7229, allocations: 27.97 kB / 0.5903 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.7246, allocations: 0.9869 MB / 0.5913 GB, free: 15.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7246, allocations: 0 / 0.5913 GB, free: 15.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002085/0.7267, allocations: 0.6563 MB / 0.5919 GB, free: 14.92 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008804/0.7275, allocations: 373.2 kB / 0.5923 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.7307, allocations: 1.32 MB / 0.5935 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.7308, allocations: 1.812 kB / 0.5935 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.7318, allocations: 380.4 kB / 0.5939 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/0.7357, allocations: 0.916 MB / 0.5948 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.7472, allocations: 3.665 MB / 0.5984 GB, free: 8.309 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008396/0.7481, allocations: 1.264 MB / 0.5996 GB, free: 7.016 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00167/0.7498, allocations: 329.8 kB / 0.5999 GB, free: 6.699 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.7501, allocations: 123.4 kB / 0.6001 GB, free: 6.578 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7501, allocations: 0 / 0.6001 GB, free: 6.578 MB / 478.1 MB Notification: Performance of Templates: time 0.05815/0.8083, allocations: 32.53 MB / 0.6318 GB, free: 6.273 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)