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.007462/0.007462, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001765/0.001765, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.517/1.517, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2614/0.2614, allocations: 54.98 MB / 324.9 MB, free: 4.836 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.001537/0.001537, allocations: 71.84 kB / 456.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.136, allocations: 59.6 MB / 0.5037 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.349/0.485, allocations: 78.49 MB / 0.5804 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02595/0.511, allocations: 16.18 MB / 0.5962 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004762/0.5158, allocations: 81.59 kB / 0.5962 GB, free: 1.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.5195, allocations: 0.892 MB / 0.5971 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009684/0.5292, allocations: 2.503 MB / 0.5996 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005092/0.5343, allocations: 1.626 MB / 0.6011 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00768/0.542, allocations: 4.625 MB / 0.6057 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/0.5453, allocations: 1.586 MB / 0.6072 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005514/0.5508, allocations: 1.869 MB / 0.609 GB, free: 7.426 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.5541, allocations: 1.424 MB / 0.6104 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006242/0.5548, allocations: 168 kB / 0.6106 GB, free: 5.832 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/0.5588, allocations: 1.194 MB / 0.6117 GB, free: 4.637 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.5599, allocations: 450.4 kB / 0.6122 GB, free: 4.195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002764/0.5627, allocations: 0.9835 MB / 0.6131 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005866/0.5686, allocations: 2.857 MB / 0.6159 GB, free: 356 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5686, allocations: 4 kB / 0.6159 GB, free: 352 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5686, allocations: 0 / 0.6159 GB, free: 352 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001126/0.5687, allocations: 0 / 0.6159 GB, free: 352 kB / 462.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.005352/0.5741, allocations: 2.15 MB / 0.618 GB, free: 14.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5741, allocations: 12.92 kB / 0.618 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009716/0.5751, allocations: 214 kB / 0.6182 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/0.5783, allocations: 1.382 MB / 0.6196 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.402e-05/0.5784, allocations: 86.17 kB / 0.6197 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.5786, allocations: 124 kB / 0.6198 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004259/0.5829, allocations: 1.55 MB / 0.6213 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.583, allocations: 7.906 kB / 0.6213 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.5831, allocations: 51.98 kB / 0.6214 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.5831, allocations: 39.88 kB / 0.6214 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/0.5864, allocations: 1.139 MB / 0.6225 GB, free: 9.371 MB / 478.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.008363/0.5948, allocations: 6.725 MB / 0.6291 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.5971, allocations: 0.663 MB / 0.6297 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/0.5974, allocations: 217.3 kB / 0.6299 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.5977, allocations: 178.5 kB / 0.6301 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.5977, allocations: 50.81 kB / 0.6302 GB, free: 1.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=39): time 2.365e-06/0.5977, allocations: 0 / 0.6302 GB, free: 1.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.007686/0.6054, allocations: 2.544 MB / 0.6326 GB, free: 14.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.6055, allocations: 140.5 kB / 0.6328 GB, free: 14.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.6073, allocations: 1.472 MB / 0.6342 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.463e-05/0.6074, allocations: 41.7 kB / 0.6343 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005775/0.608, allocations: 0.7741 MB / 0.635 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.6082, allocations: 161.8 kB / 0.6352 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.6084, allocations: 198.4 kB / 0.6354 GB, free: 11.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6086, allocations: 337.9 kB / 0.6357 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000961/0.6095, allocations: 388.6 kB / 0.636 GB, free: 10.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.6107, allocations: 0.6837 MB / 0.6367 GB, free: 10.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.6127, allocations: 1.001 MB / 0.6377 GB, free: 8.977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.6127, allocations: 4 kB / 0.6377 GB, free: 8.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002568/0.6153, allocations: 1.21 MB / 0.6389 GB, free: 7.754 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.6153, allocations: 8 kB / 0.6389 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.6154, allocations: 8 kB / 0.6389 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.6154, allocations: 12.69 kB / 0.6389 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.6165, allocations: 259.6 kB / 0.6392 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.6165, allocations: 23.86 kB / 0.6392 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.6177, allocations: 99.84 kB / 0.6393 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.6178, allocations: 43.98 kB / 0.6393 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009077/0.6187, allocations: 0.5449 MB / 0.6398 GB, free: 6.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006951/0.6194, allocations: 0.5668 MB / 0.6404 GB, free: 6.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00107/0.6205, allocations: 0.7785 MB / 0.6412 GB, free: 5.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/0.6205, allocations: 0 / 0.6412 GB, free: 5.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.001598/0.6221, allocations: 0.9733 MB / 0.6421 GB, free: 4.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.6221, allocations: 12 kB / 0.6421 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6221, allocations: 8 kB / 0.6421 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6222, allocations: 12 kB / 0.6421 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.6229, allocations: 207.8 kB / 0.6423 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.6229, allocations: 19.94 kB / 0.6424 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.6239, allocations: 59.8 kB / 0.6424 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.6239, allocations: 44 kB / 0.6425 GB, free: 3.828 MB / 494.1 MB 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.0002379/0.6242, allocations: 229.7 kB / 0.6427 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.6244, allocations: 154.1 kB / 0.6428 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.6267, allocations: 0.9225 MB / 0.6437 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.6268, allocations: 4 kB / 0.6437 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6268, allocations: 0 / 0.6437 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001973/0.6287, allocations: 1.058 MB / 0.6448 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.6327, allocations: 2.158 MB / 0.6469 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.6327, allocations: 8.031 kB / 0.6469 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.6334, allocations: 135.8 kB / 0.647 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000201/0.6336, allocations: 77.67 kB / 0.6471 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.6337, allocations: 20 kB / 0.6471 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007787/0.6344, allocations: 1.167 MB / 0.6482 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.6345, allocations: 4.031 kB / 0.6482 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/0.6376, allocations: 1.382 MB / 0.6496 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.6381, allocations: 299.1 kB / 0.6499 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.6384, allocations: 12 kB / 0.6499 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.6395, allocations: 75.91 kB / 0.65 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/0.6396, allocations: 43.89 kB / 0.65 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/0.6397, allocations: 27.97 kB / 0.65 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00148/0.6412, allocations: 0.9869 MB / 0.651 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6412, allocations: 0 / 0.651 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002202/0.6434, allocations: 0.6563 MB / 0.6516 GB, free: 10.13 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.0009244/0.6443, allocations: 367.1 kB / 0.652 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003131/0.6475, allocations: 1.274 MB / 0.6532 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.6475, allocations: 0 / 0.6532 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.6486, allocations: 390.1 kB / 0.6536 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00458/0.6532, allocations: 0.9193 MB / 0.6545 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.6649, allocations: 3.618 MB / 0.658 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000882/0.6658, allocations: 1.253 MB / 0.6593 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001449/0.6673, allocations: 328.4 kB / 0.6596 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.6676, allocations: 119.4 kB / 0.6597 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of SimCode: time 1.243e-06/0.6676, allocations: 0 / 0.6597 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.05284/0.7205, allocations: 32.73 MB / 0.6916 GB, free: 1.359 MB / 0.5294 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)