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.006591/0.006596, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001286/0.001287, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4119/0.4119, allocations: 54.94 MB / 324.8 MB, free: 15.97 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.001533/0.001533, allocations: 71.36 kB / 456.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1109, allocations: 59.59 MB / 0.5037 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.07194/0.1829, allocations: 78.49 MB / 0.5804 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02629/0.2092, allocations: 16.19 MB / 0.5962 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004205/0.2135, allocations: 75.5 kB / 0.5962 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.2161, allocations: 0.8732 MB / 0.5971 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007051/0.2232, allocations: 2.379 MB / 0.5994 GB, free: 8.695 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004397/0.2276, allocations: 1.619 MB / 0.601 GB, free: 7.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006406/0.234, allocations: 4.625 MB / 0.6055 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002899/0.237, allocations: 1.579 MB / 0.6071 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.2417, allocations: 1.83 MB / 0.6088 GB, free: 15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/0.2445, allocations: 1.42 MB / 0.6102 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005347/0.2451, allocations: 164 kB / 0.6104 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.2482, allocations: 1.194 MB / 0.6116 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007041/0.249, allocations: 450.4 kB / 0.612 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.2512, allocations: 0.9797 MB / 0.6129 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006347/0.2575, allocations: 2.858 MB / 0.6157 GB, free: 7.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2576, allocations: 0 / 0.6157 GB, free: 7.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2576, allocations: 0 / 0.6157 GB, free: 7.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001161/0.2577, allocations: 0 / 0.6157 GB, free: 7.93 MB / 494.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.006005/0.2637, allocations: 2.162 MB / 0.6178 GB, free: 5.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.2638, allocations: 8.031 kB / 0.6179 GB, free: 5.703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.2648, allocations: 221.8 kB / 0.6181 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.268, allocations: 1.374 MB / 0.6194 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.142e-05/0.2681, allocations: 90.11 kB / 0.6195 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.2683, allocations: 120 kB / 0.6196 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/0.2725, allocations: 1.542 MB / 0.6211 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.2726, allocations: 7.844 kB / 0.6211 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.2727, allocations: 48 kB / 0.6212 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.2728, allocations: 39.92 kB / 0.6212 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.2762, allocations: 1.155 MB / 0.6223 GB, free: 0.9453 MB / 494.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.008972/0.2852, allocations: 6.725 MB / 0.6289 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.2876, allocations: 0.6592 MB / 0.6295 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.288, allocations: 209.4 kB / 0.6297 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.2883, allocations: 186.5 kB / 0.6299 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.2884, allocations: 42.89 kB / 0.63 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 2.575e-06/0.2884, allocations: 3.938 kB / 0.63 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.008695/0.2971, allocations: 2.544 MB / 0.6324 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.2972, allocations: 136.5 kB / 0.6326 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.2995, allocations: 1.468 MB / 0.634 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.2997, allocations: 41.64 kB / 0.6341 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007372/0.3004, allocations: 0.7897 MB / 0.6348 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.3006, allocations: 149.8 kB / 0.635 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.3009, allocations: 194.4 kB / 0.6352 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3011, allocations: 341.9 kB / 0.6355 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.3021, allocations: 392.6 kB / 0.6359 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.3034, allocations: 0.6837 MB / 0.6365 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.3056, allocations: 1.001 MB / 0.6375 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3056, allocations: 4 kB / 0.6375 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.2562/0.5618, allocations: 1.202 MB / 0.6387 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5618, allocations: 7.688 kB / 0.6387 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5619, allocations: 8.766 kB / 0.6387 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.5619, allocations: 14.25 kB / 0.6387 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.5631, allocations: 258 kB / 0.639 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/0.5631, allocations: 20.48 kB / 0.639 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.5647, allocations: 102.7 kB / 0.6391 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.5648, allocations: 42.92 kB / 0.6391 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00111/0.566, allocations: 0.5464 MB / 0.6396 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007695/0.5667, allocations: 0.5732 MB / 0.6402 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001041/0.5678, allocations: 0.7658 MB / 0.641 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.612e-06/0.5678, allocations: 2.625 kB / 0.641 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.001689/0.5695, allocations: 0.9807 MB / 0.6419 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.5695, allocations: 13.3 kB / 0.6419 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5696, allocations: 8.062 kB / 0.6419 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5696, allocations: 13.06 kB / 0.6419 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/0.5704, allocations: 207.3 kB / 0.6421 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/0.5704, allocations: 20 kB / 0.6422 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.5715, allocations: 49.59 kB / 0.6422 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.5715, allocations: 41.16 kB / 0.6422 GB, free: 126.6 MB / 0.4981 GB 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.0002648/0.5718, allocations: 240.8 kB / 0.6425 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.5721, allocations: 153.1 kB / 0.6426 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.5745, allocations: 0.9239 MB / 0.6435 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.5746, allocations: 6.719 kB / 0.6435 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5746, allocations: 0 / 0.6435 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001977/0.5765, allocations: 1.051 MB / 0.6446 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004587/0.5811, allocations: 2.172 MB / 0.6467 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.5812, allocations: 1.219 kB / 0.6467 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.582, allocations: 133.3 kB / 0.6468 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.5822, allocations: 79.8 kB / 0.6469 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.5823, allocations: 17.77 kB / 0.6469 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006055/0.5829, allocations: 1.161 MB / 0.648 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5829, allocations: 4.156 kB / 0.648 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.5858, allocations: 1.376 MB / 0.6494 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005036/0.5863, allocations: 303.6 kB / 0.6497 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.5865, allocations: 9.5 kB / 0.6497 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009099/0.5874, allocations: 81.05 kB / 0.6498 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.5875, allocations: 35.56 kB / 0.6498 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.5876, allocations: 29.11 kB / 0.6498 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001217/0.5888, allocations: 0.9915 MB / 0.6508 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5888, allocations: 0 / 0.6508 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001746/0.5906, allocations: 0.6535 MB / 0.6514 GB, free: 122 MB / 0.4981 GB 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.0006722/0.5912, allocations: 363.1 kB / 0.6518 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.5937, allocations: 1.291 MB / 0.653 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5938, allocations: 3.938 kB / 0.653 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008733/0.5946, allocations: 375.9 kB / 0.6534 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00332/0.598, allocations: 0.92 MB / 0.6543 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009981/0.608, allocations: 3.626 MB / 0.6578 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.6085, allocations: 1.253 MB / 0.6591 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001227/0.6097, allocations: 336.2 kB / 0.6594 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.61, allocations: 123.4 kB / 0.6595 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.61, allocations: 0 / 0.6595 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.04779/0.6578, allocations: 32.51 MB / 0.6912 GB, free: 85.21 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)