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.001236/0.001236, 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.001569/0.001569, allocations: 189.4 kB / 16.25 MB, free: 6.625 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.66/1.66, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.424/0.424, allocations: 54.93 MB / 324.4 MB, free: 156 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.001245/0.001245, allocations: 67.91 kB / 394.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1391, allocations: 59.59 MB / 454.5 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.2446/0.3837, allocations: 22.46 MB / 476.9 MB, free: 25.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.3971, allocations: 8.439 MB / 485.4 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.3989, allocations: 27.84 kB / 485.4 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.4003, allocations: 293.5 kB / 485.7 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.4032, allocations: 0.8714 MB / 486.6 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.4055, allocations: 0.7249 MB / 487.3 MB, free: 18.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00238/0.4079, allocations: 1.715 MB / 489 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008298/0.4087, allocations: 0.5298 MB / 489.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.4103, allocations: 0.7464 MB / 490.3 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.411, allocations: 0.585 MB / 490.9 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.411, allocations: 52.94 kB / 490.9 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.4124, allocations: 0.7294 MB / 491.6 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.4126, allocations: 167.3 kB / 491.8 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.413, allocations: 391.6 kB / 492.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.4143, allocations: 1.083 MB / 493.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4144, allocations: 4 kB / 493.3 MB, free: 16.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4144, allocations: 1.312 kB / 493.3 MB, free: 16.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.4144, allocations: 4.875 kB / 493.3 MB, free: 16.47 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.001994/0.4164, allocations: 1.082 MB / 494.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.4165, allocations: 8.625 kB / 494.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.4177, allocations: 185.8 kB / 494.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007847/0.4185, allocations: 0.5158 MB / 495.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.4185, allocations: 41.19 kB / 495.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.4186, allocations: 49.97 kB / 495.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003901/0.4225, allocations: 1.028 MB / 496.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4226, allocations: 4.969 kB / 496.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.4226, allocations: 21.97 kB / 496.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.4227, allocations: 21.28 kB / 496.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.4264, allocations: 0.8656 MB / 497.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.43, allocations: 2.628 MB / 499.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/0.4336, allocations: 0.705 MB / 0.4887 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.4339, allocations: 113.5 kB / 0.4888 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/0.4342, allocations: 111.3 kB / 0.4889 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.4342, allocations: 47.33 kB / 0.489 GB, free: 12.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.374e-06/0.4343, allocations: 0 / 0.489 GB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.007274/0.4415, allocations: 1.265 MB / 0.4902 GB, free: 12.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.4416, allocations: 161.6 kB / 0.4903 GB, free: 12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.4427, allocations: 0.665 MB / 0.491 GB, free: 11.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.812e-05/0.4428, allocations: 40.42 kB / 0.491 GB, free: 11.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.4431, allocations: 363.9 kB / 0.4914 GB, free: 11.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.4432, allocations: 63.89 kB / 0.4914 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.4434, allocations: 102.7 kB / 0.4915 GB, free: 11.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4435, allocations: 378.7 kB / 0.4919 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.4446, allocations: 320.7 kB / 0.4922 GB, free: 10.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.4458, allocations: 456.3 kB / 0.4926 GB, free: 10.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.4479, allocations: 0.67 MB / 0.4933 GB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.448, allocations: 2.094 kB / 0.4933 GB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00266/0.4506, allocations: 0.8156 MB / 0.4941 GB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.4507, allocations: 7.234 kB / 0.4941 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.4507, allocations: 7.438 kB / 0.4941 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.4507, allocations: 12.34 kB / 0.4941 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004623/0.4553, allocations: 0.6393 MB / 0.4947 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/0.4621, allocations: 4.956 MB / 0.4996 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.4637, allocations: 176.2 kB / 0.4998 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.4638, allocations: 23.09 kB / 0.4998 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005486/0.4643, allocations: 252.2 kB / 0.5 GB, free: 5.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003571/0.4647, allocations: 267.2 kB / 0.5003 GB, free: 5.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005221/0.4652, allocations: 329.2 kB / 0.5006 GB, free: 4.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.4653, allocations: 1.375 kB / 0.5006 GB, free: 4.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0009285/0.4662, allocations: 446.3 kB / 0.501 GB, free: 4.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4662, allocations: 6.969 kB / 0.501 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4662, allocations: 4.328 kB / 0.501 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.4662, allocations: 14.12 kB / 0.501 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.4667, allocations: 112.2 kB / 0.5011 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.4667, allocations: 6.938 kB / 0.5011 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.4674, allocations: 78.84 kB / 0.5012 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.4675, allocations: 13.81 kB / 0.5012 GB, free: 4.727 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.0002184/0.4677, allocations: 209.3 kB / 0.5014 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.4679, allocations: 67.44 kB / 0.5015 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.4701, allocations: 0.6109 MB / 0.5021 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.4701, allocations: 2.406 kB / 0.5021 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4701, allocations: 1.875 kB / 0.5021 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4701, allocations: 5.938 kB / 0.5021 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.4713, allocations: 0.7507 MB / 0.5028 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4713, allocations: 1.75 kB / 0.5028 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003936/0.4752, allocations: 0.5583 MB / 0.5034 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4752, allocations: 1.25 kB / 0.5034 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.4753, allocations: 7.234 kB / 0.5034 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/0.4809, allocations: 4.863 MB / 0.5081 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4809, allocations: 1.062 kB / 0.5081 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.4834, allocations: 0.694 MB / 0.5088 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.4838, allocations: 141.1 kB / 0.509 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4839, allocations: 11.23 kB / 0.509 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/0.4849, allocations: 122.6 kB / 0.5091 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.741e-05/0.485, allocations: 17.83 kB / 0.5091 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.485, allocations: 14.47 kB / 0.5091 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007789/0.4858, allocations: 460.7 kB / 0.5096 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4858, allocations: 4 kB / 0.5096 GB, free: 14.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001499/0.4873, allocations: 353.4 kB / 0.5099 GB, free: 14.63 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.0005632/0.4879, allocations: 195.8 kB / 0.5101 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006944/0.4949, allocations: 1.328 MB / 0.5114 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4949, allocations: 1.188 kB / 0.5114 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007685/0.5026, allocations: 1.168 MB / 0.5125 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.5048, allocations: 324.1 kB / 0.5128 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.5176, allocations: 2.783 MB / 0.5155 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.5182, allocations: 0.9027 MB / 0.5164 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009507/0.5191, allocations: 132.5 kB / 0.5166 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.5194, allocations: 62.91 kB / 0.5166 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5194, allocations: 0 / 0.5166 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Templates: time 0.02481/0.5442, allocations: 14.77 MB / 0.531 GB, free: 13.56 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)