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.001282/0.001282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00178/0.00178, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.596/1.596, allocations: 205.1 MB / 222.1 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4477/0.4477, allocations: 54.93 MB / 324.4 MB, free: 80 kB / 254.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.001425/0.001425, allocations: 67.91 kB / 394.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1559, allocations: 59.59 MB / 454.5 MB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.32/0.4759, allocations: 18.93 MB / 473.4 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.4869, allocations: 7.184 MB / 480.6 MB, free: 23.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009913/0.488, allocations: 23.47 kB / 480.6 MB, free: 23.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000925/0.4889, allocations: 243.1 kB / 480.8 MB, free: 23.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.4906, allocations: 0.6259 MB / 481.5 MB, free: 23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.4924, allocations: 0.651 MB / 482.1 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.4937, allocations: 1.41 MB / 483.5 MB, free: 22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005467/0.4943, allocations: 448.9 kB / 484 MB, free: 21.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008266/0.4951, allocations: 0.6222 MB / 484.6 MB, free: 21.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/0.4956, allocations: 0.494 MB / 485.1 MB, free: 21.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.4957, allocations: 46.44 kB / 485.1 MB, free: 21.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.4965, allocations: 0.5061 MB / 485.6 MB, free: 21.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.4967, allocations: 143.4 kB / 485.8 MB, free: 21.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.4969, allocations: 344.5 kB / 486.1 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008081/0.4977, allocations: 0.8867 MB / 487 MB, free: 20.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4977, allocations: 0 / 487 MB, free: 20.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4978, allocations: 0 / 487 MB, free: 20.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.4978, allocations: 0 / 487 MB, free: 20.59 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.001331/0.4991, allocations: 0.9633 MB / 488 MB, free: 19.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4992, allocations: 13.44 kB / 488 MB, free: 19.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.5016, allocations: 364 kB / 488.3 MB, free: 19.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.5022, allocations: 485.7 kB / 488.8 MB, free: 19.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.5022, allocations: 29.06 kB / 488.8 MB, free: 19.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.5023, allocations: 43.06 kB / 488.9 MB, free: 19.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006771/0.509, allocations: 1.585 MB / 490.5 MB, free: 19.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.5091, allocations: 0.7188 kB / 490.5 MB, free: 19.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.5091, allocations: 21.03 kB / 490.5 MB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.5092, allocations: 11.25 kB / 490.5 MB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007492/0.5167, allocations: 1.528 MB / 492 MB, free: 18.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.5204, allocations: 2.781 MB / 494.8 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006626/0.5271, allocations: 1.272 MB / 496.1 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008474/0.5279, allocations: 253.9 kB / 496.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/0.5282, allocations: 117.3 kB / 496.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.5283, allocations: 46.66 kB / 496.5 MB, free: 16.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.765e-06/0.5283, allocations: 0 / 496.5 MB, free: 16.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.01445/0.5428, allocations: 2.577 MB / 499.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.5429, allocations: 158.5 kB / 499.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.5437, allocations: 0.5324 MB / 499.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.5438, allocations: 31.17 kB / 499.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.544, allocations: 310.4 kB / 0.4884 GB, free: 15.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.5441, allocations: 70.77 kB / 0.4884 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.5444, allocations: 103.9 kB / 0.4885 GB, free: 15.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5445, allocations: 373.5 kB / 0.4889 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.5467, allocations: 0.5767 MB / 0.4895 GB, free: 14.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/0.5491, allocations: 0.675 MB / 0.4901 GB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/0.5533, allocations: 1.147 MB / 0.4912 GB, free: 14.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5533, allocations: 0 / 0.4912 GB, free: 14.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004698/0.558, allocations: 1.312 MB / 0.4925 GB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.5581, allocations: 6.156 kB / 0.4925 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.5581, allocations: 3.797 kB / 0.4925 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.5581, allocations: 9.5 kB / 0.4925 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01258/0.5707, allocations: 1.61 MB / 0.4941 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/0.585, allocations: 3.616 MB / 0.4976 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.5872, allocations: 243.6 kB / 0.4979 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.5874, allocations: 27 kB / 0.4979 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008296/0.5882, allocations: 289.4 kB / 0.4982 GB, free: 11.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005089/0.5888, allocations: 271.5 kB / 0.4984 GB, free: 11.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008312/0.5896, allocations: 382.3 kB / 0.4988 GB, free: 11.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.518e-06/0.5896, allocations: 0.9688 kB / 0.4988 GB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001261/0.5909, allocations: 498.8 kB / 0.4993 GB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5909, allocations: 6.719 kB / 0.4993 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5909, allocations: 2.656 kB / 0.4993 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5909, allocations: 14.72 kB / 0.4993 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.5915, allocations: 111.3 kB / 0.4994 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.5915, allocations: 10.11 kB / 0.4994 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/0.5922, allocations: 74.38 kB / 0.4995 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.5922, allocations: 14.27 kB / 0.4995 GB, free: 11.03 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.0002993/0.5926, allocations: 204.3 kB / 0.4997 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.5928, allocations: 54.16 kB / 0.4997 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.593, allocations: 62.83 kB / 0.4998 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.593, allocations: 4.016 kB / 0.4998 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.593, allocations: 1.812 kB / 0.4998 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.593, allocations: 1.125 kB / 0.4998 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.5943, allocations: 0.8854 MB / 0.5007 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5943, allocations: 1.719 kB / 0.5007 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01071/0.6051, allocations: 1.468 MB / 0.5021 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.6051, allocations: 6 kB / 0.5021 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.917e-05/0.6052, allocations: 14.02 kB / 0.5021 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.6176, allocations: 3.505 MB / 0.5055 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.6177, allocations: 4.062 kB / 0.5056 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/0.6222, allocations: 1.231 MB / 0.5068 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.6226, allocations: 130.1 kB / 0.5069 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.6229, allocations: 8.438 kB / 0.5069 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.6245, allocations: 215.4 kB / 0.5071 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6246, allocations: 30.8 kB / 0.5071 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.6247, allocations: 16.38 kB / 0.5071 GB, free: 6.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005249/0.6252, allocations: 369.3 kB / 0.5075 GB, free: 6.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6253, allocations: 0 / 0.5075 GB, free: 6.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001307/0.6266, allocations: 331.5 kB / 0.5078 GB, free: 5.719 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.0004687/0.627, allocations: 171.2 kB / 0.508 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01535/0.6424, allocations: 2.822 MB / 0.5107 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.6425, allocations: 3.938 kB / 0.5107 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01083/0.6533, allocations: 1.873 MB / 0.5126 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.6549, allocations: 256 kB / 0.5128 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.6718, allocations: 3.422 MB / 0.5161 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.6723, allocations: 0.863 MB / 0.517 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000953/0.6733, allocations: 127.9 kB / 0.5171 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.6737, allocations: 71.36 kB / 0.5172 GB, free: 12.1 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6737, allocations: 0 / 0.5172 GB, free: 12.1 MB / 398.1 MB Notification: Performance of Templates: time 0.02727/0.701, allocations: 14.59 MB / 0.5314 GB, free: 13.67 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)