Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001583/0.001583, allocations: 193 kB / 16.13 MB, free: 6.66 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.685/1.685, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4791/0.4791, allocations: 54.94 MB / 324.3 MB, free: 116 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.001323/0.001323, allocations: 64.23 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1615, allocations: 59.6 MB / 454.3 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.2707/0.4323, allocations: 22.5 MB / 476.8 MB, free: 25.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.4453, allocations: 8.85 MB / 485.6 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.4467, allocations: 22.03 kB / 485.6 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.4477, allocations: 289.8 kB / 485.9 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.4504, allocations: 0.8367 MB / 486.7 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.4524, allocations: 0.7127 MB / 487.5 MB, free: 18.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.4545, allocations: 2.327 MB / 489.8 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006317/0.4552, allocations: 477.7 kB / 490.3 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.4564, allocations: 0.6668 MB / 490.9 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/0.4571, allocations: 0.5726 MB / 491.5 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.4572, allocations: 31.47 kB / 491.5 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.4583, allocations: 0.6987 MB / 492.2 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.4585, allocations: 148.9 kB / 492.4 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.4589, allocations: 372.2 kB / 492.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.4602, allocations: 1.059 MB / 493.8 MB, free: 16.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4602, allocations: 0.9375 kB / 493.8 MB, free: 16.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4602, allocations: 0 / 493.8 MB, free: 16.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.4603, allocations: 0 / 493.8 MB, free: 16.49 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001794/0.4621, allocations: 1.094 MB / 494.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4621, allocations: 13.19 kB / 494.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.4633, allocations: 183.2 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.464, allocations: 0.5165 MB / 495.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.4641, allocations: 37.75 kB / 495.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.4641, allocations: 49.19 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003964/0.4681, allocations: 1.029 MB / 496.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4682, allocations: 0 / 496.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.4682, allocations: 22.75 kB / 496.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.4683, allocations: 16.09 kB / 496.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003861/0.4721, allocations: 0.8642 MB / 497.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003914/0.4761, allocations: 2.634 MB / 0.4885 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/0.4798, allocations: 0.7063 MB / 0.4892 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.4801, allocations: 112.9 kB / 0.4893 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.4804, allocations: 107.4 kB / 0.4894 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.4805, allocations: 44.95 kB / 0.4895 GB, free: 12.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 3.016e-06/0.4805, allocations: 0 / 0.4895 GB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.007287/0.4878, allocations: 1.272 MB / 0.4907 GB, free: 12.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.4879, allocations: 160.3 kB / 0.4909 GB, free: 12.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009224/0.4888, allocations: 0.6694 MB / 0.4915 GB, free: 11.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.861e-05/0.4889, allocations: 33.52 kB / 0.4915 GB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.4892, allocations: 367.5 kB / 0.4919 GB, free: 11.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/0.4893, allocations: 59.84 kB / 0.492 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.4895, allocations: 100.5 kB / 0.492 GB, free: 11.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4897, allocations: 379.9 kB / 0.4924 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.4907, allocations: 329.6 kB / 0.4927 GB, free: 10.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.492, allocations: 452.2 kB / 0.4932 GB, free: 10.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.4941, allocations: 0.6741 MB / 0.4938 GB, free: 10.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4941, allocations: 2.5 kB / 0.4938 GB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002632/0.4967, allocations: 0.815 MB / 0.4946 GB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.4968, allocations: 7.25 kB / 0.4946 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4968, allocations: 3.281 kB / 0.4946 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.4968, allocations: 8.281 kB / 0.4946 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004712/0.5015, allocations: 0.6409 MB / 0.4953 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006363/0.5079, allocations: 4.622 MB / 0.4998 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.5101, allocations: 168.2 kB / 0.4999 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/0.5103, allocations: 18.25 kB / 0.4999 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006807/0.5109, allocations: 256.2 kB / 0.5002 GB, free: 5.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005217/0.5115, allocations: 272.5 kB / 0.5005 GB, free: 5.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007593/0.5123, allocations: 333.8 kB / 0.5008 GB, free: 5.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.075e-06/0.5123, allocations: 1 kB / 0.5008 GB, free: 5.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.001028/0.5133, allocations: 447.4 kB / 0.5012 GB, free: 5.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5133, allocations: 8.016 kB / 0.5012 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5133, allocations: 8.406 kB / 0.5012 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.5134, allocations: 6.719 kB / 0.5012 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.5138, allocations: 107.5 kB / 0.5013 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.5139, allocations: 16.27 kB / 0.5013 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.5146, allocations: 65.58 kB / 0.5014 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.5147, allocations: 22.86 kB / 0.5014 GB, free: 5.055 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.5149, allocations: 209.8 kB / 0.5016 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.5151, allocations: 66.28 kB / 0.5017 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.518, allocations: 0.6098 MB / 0.5023 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.518, allocations: 3.266 kB / 0.5023 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.518, allocations: 5.375 kB / 0.5023 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.518, allocations: 0.75 kB / 0.5023 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.5196, allocations: 0.7437 MB / 0.503 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5196, allocations: 2 kB / 0.503 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004419/0.5241, allocations: 0.5536 MB / 0.5036 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.5241, allocations: 1.641 kB / 0.5036 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.5241, allocations: 11.95 kB / 0.5036 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005847/0.53, allocations: 4.524 MB / 0.508 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.53, allocations: 3.516 kB / 0.508 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.5326, allocations: 0.6996 MB / 0.5087 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.5328, allocations: 136.3 kB / 0.5088 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.5329, allocations: 7.891 kB / 0.5088 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009757/0.5339, allocations: 128.3 kB / 0.5089 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.5341, allocations: 16.48 kB / 0.509 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.5341, allocations: 13.78 kB / 0.509 GB, free: 15.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006272/0.5347, allocations: 462.4 kB / 0.5094 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5347, allocations: 0 / 0.5094 GB, free: 15.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00138/0.5361, allocations: 343.3 kB / 0.5097 GB, free: 15.29 MB / 398.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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005285/0.5367, allocations: 209.6 kB / 0.5099 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007212/0.5439, allocations: 1.318 MB / 0.5112 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5439, allocations: 1.219 kB / 0.5112 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008036/0.552, allocations: 1.169 MB / 0.5124 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.5544, allocations: 368.7 kB / 0.5127 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.5672, allocations: 2.795 MB / 0.5154 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.5678, allocations: 0.9015 MB / 0.5163 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009543/0.5687, allocations: 126.9 kB / 0.5164 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.569, allocations: 65.64 kB / 0.5165 GB, free: 11.96 MB / 398.1 MB Notification: Performance of SimCode: time 1.432e-06/0.569, allocations: 1.281 kB / 0.5165 GB, free: 11.96 MB / 398.1 MB Notification: Performance of Templates: time 0.0278/0.5968, allocations: 14.61 MB / 0.5308 GB, free: 13.72 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)