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.0015/0.0015, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001659/0.001659, allocations: 194.8 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.507/1.507, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4851/0.4851, allocations: 54.93 MB / 324.4 MB, free: 24 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.001417/0.001417, allocations: 63.91 kB / 394.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1537, allocations: 59.59 MB / 454.5 MB, free: 396 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3662/0.52, allocations: 77.8 MB / 0.5198 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0327/0.5527, allocations: 16.17 MB / 0.5356 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006451/0.5593, allocations: 68.72 kB / 0.5357 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.5635, allocations: 0.7459 MB / 0.5364 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009586/0.5731, allocations: 2.223 MB / 0.5386 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005652/0.5787, allocations: 1.509 MB / 0.5401 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009735/0.5885, allocations: 4.643 MB / 0.5446 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/0.5916, allocations: 1.565 MB / 0.5461 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006923/0.5986, allocations: 1.827 MB / 0.5479 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004405/0.603, allocations: 1.478 MB / 0.5494 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006239/0.6037, allocations: 168 kB / 0.5495 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.6075, allocations: 1.201 MB / 0.5507 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005582/0.6081, allocations: 442.4 kB / 0.5511 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.6098, allocations: 0.9835 MB / 0.5521 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.6149, allocations: 2.835 MB / 0.5548 GB, free: 6.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.6149, allocations: 0 / 0.5548 GB, free: 6.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.6149, allocations: 8 kB / 0.5549 GB, free: 6.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.747e-05/0.615, allocations: 0 / 0.5549 GB, free: 6.246 MB / 430.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.004491/0.6195, allocations: 2.151 MB / 0.557 GB, free: 4.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.6196, allocations: 8.031 kB / 0.557 GB, free: 4.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/0.6203, allocations: 217.8 kB / 0.5572 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.6225, allocations: 1.351 MB / 0.5585 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/0.6226, allocations: 90.16 kB / 0.5586 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.6228, allocations: 116 kB / 0.5587 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/0.627, allocations: 1.548 MB / 0.5602 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.6271, allocations: 3.984 kB / 0.5602 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.6272, allocations: 55.98 kB / 0.5603 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/0.6272, allocations: 35.88 kB / 0.5603 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.6305, allocations: 1.14 MB / 0.5614 GB, free: 15.32 MB / 446.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.009032/0.6396, allocations: 6.71 MB / 0.568 GB, free: 8.199 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.642, allocations: 0.66 MB / 0.5686 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.6425, allocations: 216.1 kB / 0.5688 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.6429, allocations: 178.5 kB / 0.569 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.937e-05/0.6429, allocations: 42.88 kB / 0.569 GB, free: 7.059 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 3.807e-06/0.6429, allocations: 4 kB / 0.569 GB, free: 7.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.009232/0.6522, allocations: 2.539 MB / 0.5715 GB, free: 4.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.6523, allocations: 140.4 kB / 0.5716 GB, free: 4.281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.6545, allocations: 1.464 MB / 0.5731 GB, free: 2.812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.6547, allocations: 41.7 kB / 0.5731 GB, free: 2.766 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006981/0.6554, allocations: 0.7819 MB / 0.5739 GB, free: 1.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.6556, allocations: 157.8 kB / 0.574 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.6559, allocations: 194.4 kB / 0.5742 GB, free: 1.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.656, allocations: 334 kB / 0.5745 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009811/0.657, allocations: 400.5 kB / 0.5749 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.6582, allocations: 0.6798 MB / 0.5756 GB, free: 84 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.6603, allocations: 1.001 MB / 0.5765 GB, free: 14.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.6603, allocations: 0 / 0.5765 GB, free: 14.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002916/0.6633, allocations: 1.213 MB / 0.5777 GB, free: 13.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.6633, allocations: 8 kB / 0.5777 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.6633, allocations: 8 kB / 0.5777 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.6634, allocations: 12.69 kB / 0.5778 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.6645, allocations: 264.5 kB / 0.578 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.651e-05/0.6646, allocations: 22.03 kB / 0.578 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.6664, allocations: 159.6 kB / 0.5782 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/0.6665, allocations: 43.98 kB / 0.5782 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001112/0.6676, allocations: 0.5488 MB / 0.5788 GB, free: 12.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000717/0.6684, allocations: 0.5668 MB / 0.5793 GB, free: 11.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001048/0.6694, allocations: 0.7747 MB / 0.5801 GB, free: 11.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.959e-06/0.6694, allocations: 4 kB / 0.5801 GB, free: 11.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.001765/0.6712, allocations: 0.9691 MB / 0.581 GB, free: 10.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.6712, allocations: 8 kB / 0.581 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.6713, allocations: 8 kB / 0.581 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6713, allocations: 12.78 kB / 0.5811 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.672, allocations: 212.6 kB / 0.5813 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.672, allocations: 23.86 kB / 0.5813 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.6733, allocations: 99.77 kB / 0.5814 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.6734, allocations: 36 kB / 0.5814 GB, free: 9.723 MB / 462.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.0003657/0.6737, allocations: 236 kB / 0.5816 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.674, allocations: 161.9 kB / 0.5818 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.6766, allocations: 0.9265 MB / 0.5827 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.6767, allocations: 4 kB / 0.5827 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.6767, allocations: 3.984 kB / 0.5827 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002005/0.6787, allocations: 1.054 MB / 0.5837 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/0.6832, allocations: 2.151 MB / 0.5858 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6833, allocations: 0 / 0.5858 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/0.684, allocations: 136 kB / 0.586 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.6842, allocations: 82.28 kB / 0.586 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.6843, allocations: 8 kB / 0.586 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008864/0.6852, allocations: 1.164 MB / 0.5872 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.6852, allocations: 0 / 0.5872 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/0.6884, allocations: 1.382 MB / 0.5885 GB, free: 2.152 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007869/0.6892, allocations: 303.2 kB / 0.5888 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.6894, allocations: 12.98 kB / 0.5888 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.6906, allocations: 119.7 kB / 0.5889 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.6907, allocations: 39.83 kB / 0.589 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.6908, allocations: 31.91 kB / 0.589 GB, free: 1.637 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001683/0.6925, allocations: 0.9752 MB / 0.59 GB, free: 0.668 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6925, allocations: 0 / 0.59 GB, free: 0.668 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002409/0.6949, allocations: 0.6524 MB / 0.5906 GB, free: 16 kB / 462.1 MB 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.001007/0.6959, allocations: 351.9 kB / 0.5909 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003246/0.6992, allocations: 1.318 MB / 0.5922 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.6992, allocations: 0 / 0.5922 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.7003, allocations: 384.4 kB / 0.5926 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004045/0.7043, allocations: 0.9162 MB / 0.5935 GB, free: 13.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.717, allocations: 4.181 MB / 0.5976 GB, free: 8.922 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008657/0.7179, allocations: 1.252 MB / 0.5988 GB, free: 7.641 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00199/0.7199, allocations: 337.8 kB / 0.5991 GB, free: 7.316 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.7203, allocations: 123.4 kB / 0.5992 GB, free: 7.195 MB / 478.1 MB Notification: Performance of SimCode: time 1.523e-06/0.7203, allocations: 0 / 0.5992 GB, free: 7.195 MB / 478.1 MB Notification: Performance of Templates: time 0.05991/0.7802, allocations: 32.01 MB / 0.6305 GB, free: 7.414 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)