Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 207.6 MB / 231.3 MB, free: 3.195 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4382/0.4382, allocations: 55.71 MB / 339.1 MB, free: 12.36 MB / 270.1 MB " [Timeout remaining time 179] 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 660] "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.002201/0.002201, allocations: 73.3 kB / 479.9 MB, free: 36.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1613, allocations: 62.86 MB / 0.53 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02369/0.185, allocations: 17.72 MB / 0.5473 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01402/0.199, allocations: 6.843 MB / 0.554 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.2003, allocations: 15.88 kB / 0.554 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.2016, allocations: 302.2 kB / 0.5543 GB, free: 2.715 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001739/0.2034, allocations: 0.5752 MB / 0.5549 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.2054, allocations: 0.6375 MB / 0.5555 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.2072, allocations: 1.056 MB / 0.5565 GB, free: 456 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.2077, allocations: 308.7 kB / 0.5568 GB, free: 140 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009423/0.2086, allocations: 490.1 kB / 0.5573 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.2091, allocations: 378.4 kB / 0.5576 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.71e-05/0.2092, allocations: 36 kB / 0.5577 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.2105, allocations: 0.6202 MB / 0.5583 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.2107, allocations: 163.4 kB / 0.5584 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.211, allocations: 278.5 kB / 0.5587 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.2124, allocations: 0.9107 MB / 0.5596 GB, free: 13.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2124, allocations: 0 / 0.5596 GB, free: 13.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2124, allocations: 0 / 0.5596 GB, free: 13.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.2124, allocations: 0 / 0.5596 GB, free: 13.28 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001584/0.214, allocations: 0.9295 MB / 0.5605 GB, free: 12.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.2141, allocations: 12.03 kB / 0.5605 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.2144, allocations: 76.55 kB / 0.5606 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008775/0.2153, allocations: 485.7 kB / 0.561 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.2153, allocations: 24.66 kB / 0.5611 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.2154, allocations: 36 kB / 0.5611 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.2167, allocations: 486.1 kB / 0.5616 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2167, allocations: 4 kB / 0.5616 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.2167, allocations: 19.98 kB / 0.5616 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.2168, allocations: 8 kB / 0.5616 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.2178, allocations: 325.8 kB / 0.5619 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.221, allocations: 2.201 MB / 0.564 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.2218, allocations: 194.5 kB / 0.5642 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.2219, allocations: 52.95 kB / 0.5643 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/0.2235, allocations: 0.9239 MB / 0.5652 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.2236, allocations: 38.56 kB / 0.5652 GB, free: 7.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.2236, allocations: 4 kB / 0.5652 GB, free: 7.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001536/0.2251, allocations: 361 kB / 0.5656 GB, free: 6.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2252, allocations: 102.8 kB / 0.5657 GB, free: 6.598 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009012/0.2261, allocations: 0.6514 MB / 0.5663 GB, free: 5.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.2261, allocations: 37.64 kB / 0.5663 GB, free: 5.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.2264, allocations: 320.1 kB / 0.5666 GB, free: 5.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.2265, allocations: 47.62 kB / 0.5667 GB, free: 5.531 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.2266, allocations: 81.64 kB / 0.5668 GB, free: 5.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002465/0.2269, allocations: 370.7 kB / 0.5671 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.2272, allocations: 108.8 kB / 0.5672 GB, free: 4.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.2278, allocations: 302 kB / 0.5675 GB, free: 4.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007921/0.2286, allocations: 339.9 kB / 0.5678 GB, free: 4.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2286, allocations: 4 kB / 0.5678 GB, free: 4.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001006/0.2296, allocations: 416.7 kB / 0.5682 GB, free: 3.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.2296, allocations: 17.91 kB / 0.5683 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.2296, allocations: 4.562 kB / 0.5683 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.2296, allocations: 8 kB / 0.5683 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.23, allocations: 91.88 kB / 0.5684 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.23, allocations: 11.94 kB / 0.5684 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.2305, allocations: 75.53 kB / 0.5684 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.2305, allocations: 12 kB / 0.5684 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003925/0.2309, allocations: 232 kB / 0.5687 GB, free: 3.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003818/0.2313, allocations: 267 kB / 0.5689 GB, free: 2.996 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004886/0.2318, allocations: 284.1 kB / 0.5692 GB, free: 2.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.2318, allocations: 0 / 0.5692 GB, free: 2.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0006874/0.2325, allocations: 369.2 kB / 0.5695 GB, free: 2.293 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2325, allocations: 8.062 kB / 0.5696 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2325, allocations: 8 kB / 0.5696 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.2325, allocations: 8 kB / 0.5696 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.2328, allocations: 71.91 kB / 0.5696 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/0.2328, allocations: 19.86 kB / 0.5697 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.2332, allocations: 39.83 kB / 0.5697 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.2332, allocations: 19.94 kB / 0.5697 GB, free: 2.121 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 42 * 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.0002024/0.2334, allocations: 200.1 kB / 0.5699 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.2335, allocations: 59.62 kB / 0.57 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.2342, allocations: 242.1 kB / 0.5702 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2342, allocations: 3.938 kB / 0.5702 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2343, allocations: 4 kB / 0.5702 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.2343, allocations: 0 / 0.5702 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.2348, allocations: 397.4 kB / 0.5706 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2348, allocations: 0 / 0.5706 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.235, allocations: 35.97 kB / 0.5706 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2351, allocations: 4 kB / 0.5706 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2351, allocations: 3.984 kB / 0.5706 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2351, allocations: 3.938 kB / 0.5706 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2351, allocations: 0 / 0.5706 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009965/0.2361, allocations: 418.9 kB / 0.571 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.2362, allocations: 132.7 kB / 0.5712 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.2363, allocations: 8 kB / 0.5712 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.2366, allocations: 23.91 kB / 0.5712 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.2367, allocations: 7.984 kB / 0.5712 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2367, allocations: 8 kB / 0.5712 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005982/0.2373, allocations: 462.8 kB / 0.5716 GB, free: 56 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2373, allocations: 0 / 0.5716 GB, free: 56 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008712/0.2381, allocations: 239.9 kB / 0.5719 GB, free: 15.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001624/0.2398, allocations: 441.3 kB / 0.5723 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.2409, allocations: 380.7 kB / 0.5727 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2409, allocations: 0 / 0.5727 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.2412, allocations: 76.83 kB / 0.5727 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.2425, allocations: 293.3 kB / 0.573 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.2461, allocations: 1.169 MB / 0.5741 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.2466, allocations: 0.8508 MB / 0.575 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004249/0.2471, allocations: 104.7 kB / 0.5751 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.2472, allocations: 47.42 kB / 0.5751 GB, free: 12.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.2472, allocations: 0 / 0.5751 GB, free: 12.57 MB / 446.1 MB Notification: Performance of Templates: time 0.02208/0.2693, allocations: 10.82 MB / 0.5857 GB, free: 1.832 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.065208136104047]