Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, 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.001345/0.001345, allocations: 195.3 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.598/1.598, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.413/0.413, allocations: 54.95 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.001722/0.001722, allocations: 71.89 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1646, allocations: 59.59 MB / 454.9 MB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.3145/0.4792, allocations: 19.06 MB / 474 MB, free: 27.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.4925, allocations: 7.127 MB / 481.1 MB, free: 23.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.4942, allocations: 22.59 kB / 481.1 MB, free: 23.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.4952, allocations: 291.9 kB / 481.4 MB, free: 22.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.4973, allocations: 0.6736 MB / 482.1 MB, free: 22.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.4994, allocations: 0.7083 MB / 482.8 MB, free: 22.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.5012, allocations: 1.401 MB / 484.2 MB, free: 21.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.5019, allocations: 459.7 kB / 484.7 MB, free: 21.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009272/0.5028, allocations: 0.6097 MB / 485.3 MB, free: 21.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.5034, allocations: 497.5 kB / 485.7 MB, free: 20.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.5035, allocations: 45.44 kB / 485.8 MB, free: 20.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009927/0.5045, allocations: 0.5152 MB / 486.3 MB, free: 20.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.5047, allocations: 148 kB / 486.5 MB, free: 20.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.505, allocations: 330.2 kB / 486.8 MB, free: 20.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009294/0.5059, allocations: 0.8819 MB / 487.7 MB, free: 20.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5059, allocations: 0.5625 kB / 487.7 MB, free: 20.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5059, allocations: 3.031 kB / 487.7 MB, free: 20.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.5059, allocations: 0 / 487.7 MB, free: 20.17 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001425/0.5074, allocations: 0.9677 MB / 488.6 MB, free: 19.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5074, allocations: 7.281 kB / 488.6 MB, free: 19.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.5099, allocations: 365.9 kB / 489 MB, free: 19.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.5105, allocations: 490.3 kB / 489.5 MB, free: 19.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.5105, allocations: 32.62 kB / 489.5 MB, free: 19.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.5106, allocations: 38.95 kB / 489.5 MB, free: 19.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006536/0.5172, allocations: 1.579 MB / 491.1 MB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.5172, allocations: 3 kB / 491.1 MB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.723e-05/0.5172, allocations: 22.06 kB / 491.1 MB, free: 18.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.5173, allocations: 12.66 kB / 491.2 MB, free: 18.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007429/0.5247, allocations: 1.524 MB / 492.7 MB, free: 18.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003746/0.5285, allocations: 2.803 MB / 495.5 MB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006647/0.5352, allocations: 1.264 MB / 496.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009126/0.5361, allocations: 261 kB / 497 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.5364, allocations: 112.3 kB / 497.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.5364, allocations: 38.7 kB / 497.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 4.519e-06/0.5365, allocations: 1.219 kB / 497.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.01454/0.551, allocations: 2.579 MB / 499.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.5511, allocations: 161.2 kB / 499.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000837/0.552, allocations: 0.541 MB / 0.4887 GB, free: 15.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.5521, allocations: 32.58 kB / 0.4887 GB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.5523, allocations: 305.8 kB / 0.489 GB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.5524, allocations: 71.77 kB / 0.4891 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.5527, allocations: 107.5 kB / 0.4892 GB, free: 14.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5528, allocations: 369 kB / 0.4895 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.5552, allocations: 0.5718 MB / 0.4901 GB, free: 14.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.5575, allocations: 0.6756 MB / 0.4908 GB, free: 13.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/0.5618, allocations: 1.15 MB / 0.4919 GB, free: 13.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.5619, allocations: 6.812 kB / 0.4919 GB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.005142/0.567, allocations: 1.307 MB / 0.4932 GB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.5671, allocations: 7.688 kB / 0.4932 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5671, allocations: 2.75 kB / 0.4932 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.5671, allocations: 5.5 kB / 0.4932 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01245/0.5796, allocations: 1.619 MB / 0.4948 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/0.5939, allocations: 3.614 MB / 0.4983 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.5957, allocations: 229.2 kB / 0.4985 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/0.5959, allocations: 30.14 kB / 0.4985 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006917/0.5966, allocations: 284.8 kB / 0.4988 GB, free: 11.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005063/0.5971, allocations: 265.7 kB / 0.4991 GB, free: 11.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008712/0.598, allocations: 381.7 kB / 0.4994 GB, free: 10.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.135e-06/0.598, allocations: 2.016 kB / 0.4994 GB, free: 10.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001205/0.5992, allocations: 495.9 kB / 0.4999 GB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5992, allocations: 4.938 kB / 0.4999 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5992, allocations: 3.844 kB / 0.4999 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.5992, allocations: 8.094 kB / 0.4999 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.5998, allocations: 113.7 kB / 0.5 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-05/0.5998, allocations: 5.125 kB / 0.5 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.6004, allocations: 66.14 kB / 0.5001 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.6004, allocations: 16.41 kB / 0.5001 GB, free: 10.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003664/0.6008, allocations: 203.1 kB / 0.5003 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.601, allocations: 59.84 kB / 0.5004 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.6012, allocations: 61.83 kB / 0.5004 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6012, allocations: 2.812 kB / 0.5004 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6012, allocations: 1.438 kB / 0.5004 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.6013, allocations: 3.625 kB / 0.5004 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.6023, allocations: 0.8907 MB / 0.5013 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.6023, allocations: 3.984 kB / 0.5013 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01081/0.6131, allocations: 1.458 MB / 0.5027 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.6131, allocations: 1.406 kB / 0.5027 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.6133, allocations: 16.16 kB / 0.5027 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/0.6259, allocations: 3.507 MB / 0.5062 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6259, allocations: 0 / 0.5062 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004531/0.6304, allocations: 1.243 MB / 0.5074 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.6306, allocations: 121.6 kB / 0.5075 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.6308, allocations: 11.22 kB / 0.5075 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.6322, allocations: 198.9 kB / 0.5077 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/0.6323, allocations: 24.31 kB / 0.5077 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.6324, allocations: 14.97 kB / 0.5077 GB, free: 5.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005369/0.6329, allocations: 370.4 kB / 0.5081 GB, free: 5.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.633, allocations: 0 / 0.5081 GB, free: 5.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001294/0.6343, allocations: 337.8 kB / 0.5084 GB, free: 5.219 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004466/0.6347, allocations: 173.6 kB / 0.5086 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01558/0.6503, allocations: 2.826 MB / 0.5113 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.6503, allocations: 4 kB / 0.5113 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01159/0.6619, allocations: 1.869 MB / 0.5132 GB, free: 364 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.6636, allocations: 244.6 kB / 0.5134 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/0.6804, allocations: 3.251 MB / 0.5166 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.6809, allocations: 0.863 MB / 0.5174 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009125/0.6818, allocations: 131.5 kB / 0.5175 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.6821, allocations: 67.36 kB / 0.5176 GB, free: 11.78 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6821, allocations: 0 / 0.5176 GB, free: 11.78 MB / 398.1 MB Notification: Performance of Templates: time 0.02474/0.7069, allocations: 14.77 MB / 0.532 GB, free: 13.16 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)