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) 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00896/0.00896, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.002677/0.002677, allocations: 189.5 kB / 16.67 MB, free: 5.914 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.657/1.657, allocations: 205.1 MB / 222.5 MB, free: 4.355 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4015/0.4015, allocations: 54.95 MB / 324.8 MB, free: 88 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.001485/0.001485, allocations: 65.62 kB / 456.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1714, allocations: 59.6 MB / 0.5038 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01914/0.1906, allocations: 17.42 MB / 0.5208 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.2041, allocations: 6.761 MB / 0.5274 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000856/0.205, allocations: 19.88 kB / 0.5274 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.2063, allocations: 298.2 kB / 0.5277 GB, free: 2.32 MB / 398.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.001799/0.2081, allocations: 0.5752 MB / 0.5283 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.2101, allocations: 0.6434 MB / 0.5289 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.2117, allocations: 1.056 MB / 0.5299 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005379/0.2123, allocations: 348.8 kB / 0.5303 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008149/0.2131, allocations: 498 kB / 0.5307 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.2136, allocations: 362.4 kB / 0.5311 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.2137, allocations: 36 kB / 0.5311 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.2148, allocations: 0.6202 MB / 0.5317 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.215, allocations: 151.5 kB / 0.5319 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.2153, allocations: 278.5 kB / 0.5321 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.2165, allocations: 0.9035 MB / 0.533 GB, free: 12.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2165, allocations: 0 / 0.533 GB, free: 12.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2166, allocations: 0 / 0.533 GB, free: 12.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.2166, allocations: 0 / 0.533 GB, free: 12.87 MB / 414.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.001449/0.218, allocations: 0.9148 MB / 0.5339 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2181, allocations: 8.031 kB / 0.5339 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.2184, allocations: 72.17 kB / 0.534 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.2193, allocations: 481.3 kB / 0.5345 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2193, allocations: 28.66 kB / 0.5345 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.2194, allocations: 36 kB / 0.5345 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.2206, allocations: 478.1 kB / 0.535 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.2206, allocations: 7.938 kB / 0.535 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.2207, allocations: 16 kB / 0.535 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.2207, allocations: 15.98 kB / 0.535 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009595/0.2217, allocations: 325.8 kB / 0.5353 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.2243, allocations: 2.2 MB / 0.5375 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.225, allocations: 198.5 kB / 0.5377 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.2251, allocations: 56.83 kB / 0.5377 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.2264, allocations: 0.9123 MB / 0.5386 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.2264, allocations: 38.56 kB / 0.5386 GB, free: 6.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.2264, allocations: 0 / 0.5386 GB, free: 6.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001357/0.2278, allocations: 360.7 kB / 0.539 GB, free: 6.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.2279, allocations: 102.8 kB / 0.5391 GB, free: 6.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/0.2286, allocations: 0.6552 MB / 0.5397 GB, free: 5.559 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2287, allocations: 33.7 kB / 0.5398 GB, free: 5.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.229, allocations: 315.5 kB / 0.5401 GB, free: 5.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.229, allocations: 39.45 kB / 0.5401 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.2292, allocations: 81.59 kB / 0.5402 GB, free: 5.082 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2294, allocations: 370.7 kB / 0.5405 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.2297, allocations: 108.8 kB / 0.5406 GB, free: 4.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.2303, allocations: 305.9 kB / 0.5409 GB, free: 4.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.2309, allocations: 335.9 kB / 0.5412 GB, free: 3.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.231, allocations: 4 kB / 0.5412 GB, free: 3.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008781/0.2318, allocations: 416.6 kB / 0.5416 GB, free: 3.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.2319, allocations: 8 kB / 0.5416 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2319, allocations: 4 kB / 0.5417 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.2319, allocations: 7.938 kB / 0.5417 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.2323, allocations: 100.2 kB / 0.5418 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.2324, allocations: 8 kB / 0.5418 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.2328, allocations: 71.34 kB / 0.5418 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.2328, allocations: 16 kB / 0.5418 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003183/0.2331, allocations: 232.1 kB / 0.5421 GB, free: 2.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003169/0.2334, allocations: 278.8 kB / 0.5423 GB, free: 2.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004087/0.2339, allocations: 288.1 kB / 0.5426 GB, free: 2.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.2339, allocations: 0 / 0.5426 GB, free: 2.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0006356/0.2345, allocations: 364.5 kB / 0.543 GB, free: 1.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2345, allocations: 8 kB / 0.543 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2345, allocations: 7.938 kB / 0.543 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.2346, allocations: 8.562 kB / 0.543 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.2348, allocations: 79.91 kB / 0.5431 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2348, allocations: 7.938 kB / 0.5431 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.2352, allocations: 51.69 kB / 0.5431 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.2352, allocations: 16 kB / 0.5431 GB, free: 1.746 MB / 414.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.0001714/0.2354, allocations: 196.2 kB / 0.5433 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.2355, allocations: 51.34 kB / 0.5434 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006715/0.2362, allocations: 242.1 kB / 0.5436 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2362, allocations: 3.938 kB / 0.5436 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2362, allocations: 0 / 0.5436 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2362, allocations: 3.984 kB / 0.5436 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.2367, allocations: 401.2 kB / 0.544 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2367, allocations: 4 kB / 0.544 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.2369, allocations: 35.95 kB / 0.544 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.2369, allocations: 4 kB / 0.544 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.237, allocations: 4 kB / 0.544 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.237, allocations: 3.938 kB / 0.544 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.237, allocations: 0 / 0.544 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.2379, allocations: 411.2 kB / 0.5444 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.238, allocations: 128.4 kB / 0.5446 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.2381, allocations: 4.062 kB / 0.5446 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.2384, allocations: 31.91 kB / 0.5446 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.2385, allocations: 7.984 kB / 0.5446 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.2385, allocations: 11.98 kB / 0.5446 GB, free: 140 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005486/0.2391, allocations: 462.8 kB / 0.545 GB, free: 15.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2391, allocations: 0 / 0.545 GB, free: 15.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008332/0.2399, allocations: 239.8 kB / 0.5453 GB, free: 15.45 MB / 430.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.001181/0.2411, allocations: 434 kB / 0.5457 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.2421, allocations: 401.2 kB / 0.5461 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.2422, allocations: 4 kB / 0.5461 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.2424, allocations: 83.81 kB / 0.5462 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.2436, allocations: 283.9 kB / 0.5464 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.2469, allocations: 1.146 MB / 0.5475 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.2473, allocations: 0.8508 MB / 0.5484 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003715/0.2477, allocations: 104.7 kB / 0.5485 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2478, allocations: 43.42 kB / 0.5485 GB, free: 12.21 MB / 430.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2478, allocations: 4 kB / 0.5485 GB, free: 12.21 MB / 430.1 MB Notification: Performance of Templates: time 0.02091/0.2687, allocations: 10.67 MB / 0.5589 GB, free: 1.613 MB / 430.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (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)