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.005597/0.005597, allocations: 97.41 kB / 15.73 MB, free: 6.043 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.001312/0.001312, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.216/1.216, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3449/0.3449, allocations: 54.95 MB / 324.9 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.001403/0.001403, allocations: 68.66 kB / 456.2 MB, free: 38.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08457/0.08598, allocations: 59.59 MB / 0.5037 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01477/0.1008, allocations: 17.42 MB / 0.5207 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008468/0.1093, allocations: 6.765 MB / 0.5273 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.1097, allocations: 15.88 kB / 0.5274 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.1105, allocations: 290.2 kB / 0.5276 GB, free: 2.461 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.001076/0.1116, allocations: 0.5537 MB / 0.5282 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.113, allocations: 0.6489 MB / 0.5288 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.114, allocations: 1.044 MB / 0.5298 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.1145, allocations: 348.9 kB / 0.5302 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006302/0.1151, allocations: 494 kB / 0.5306 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.1155, allocations: 350.5 kB / 0.531 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.1156, allocations: 36 kB / 0.531 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009018/0.1165, allocations: 0.624 MB / 0.5316 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.1166, allocations: 159.4 kB / 0.5318 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.1169, allocations: 274.5 kB / 0.532 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009781/0.1179, allocations: 0.9146 MB / 0.5329 GB, free: 13.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1179, allocations: 0 / 0.5329 GB, free: 13.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1179, allocations: 0 / 0.5329 GB, free: 13.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1179, allocations: 3.938 kB / 0.5329 GB, free: 13.03 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.001126/0.119, allocations: 0.9333 MB / 0.5338 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.1191, allocations: 8.031 kB / 0.5338 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.1193, allocations: 80.55 kB / 0.5339 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.12, allocations: 477.8 kB / 0.5344 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.12, allocations: 24.66 kB / 0.5344 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.1201, allocations: 40 kB / 0.5344 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.1211, allocations: 482.1 kB / 0.5349 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1211, allocations: 7.938 kB / 0.5349 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.1211, allocations: 12 kB / 0.5349 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.1212, allocations: 12 kB / 0.5349 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.122, allocations: 321.8 kB / 0.5352 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.1241, allocations: 2.212 MB / 0.5374 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.1248, allocations: 197.8 kB / 0.5376 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.1249, allocations: 60.97 kB / 0.5376 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.126, allocations: 0.924 MB / 0.5385 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.126, allocations: 34.56 kB / 0.5386 GB, free: 6.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1261, allocations: 0 / 0.5386 GB, free: 6.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001316/0.1274, allocations: 361 kB / 0.5389 GB, free: 6.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.1275, allocations: 110.8 kB / 0.539 GB, free: 6.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006473/0.1281, allocations: 0.6514 MB / 0.5397 GB, free: 5.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1281, allocations: 29.7 kB / 0.5397 GB, free: 5.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.1284, allocations: 320.1 kB / 0.54 GB, free: 5.328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1284, allocations: 47.61 kB / 0.54 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1285, allocations: 81.64 kB / 0.5401 GB, free: 5.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1286, allocations: 366.7 kB / 0.5405 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.129, allocations: 116.8 kB / 0.5406 GB, free: 4.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.1294, allocations: 294 kB / 0.5409 GB, free: 4.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.1301, allocations: 339.9 kB / 0.5412 GB, free: 3.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.1301, allocations: 4 kB / 0.5412 GB, free: 3.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000834/0.1309, allocations: 429 kB / 0.5416 GB, free: 3.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1309, allocations: 4 kB / 0.5416 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.131, allocations: 4 kB / 0.5416 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.131, allocations: 8 kB / 0.5416 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.1313, allocations: 95.81 kB / 0.5417 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1313, allocations: 8 kB / 0.5417 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.1317, allocations: 79.83 kB / 0.5418 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1318, allocations: 16 kB / 0.5418 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002883/0.1321, allocations: 228 kB / 0.542 GB, free: 3.086 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002816/0.1323, allocations: 271 kB / 0.5423 GB, free: 2.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003761/0.1327, allocations: 292.1 kB / 0.5425 GB, free: 2.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.1327, allocations: 7.938 kB / 0.5426 GB, free: 2.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0006244/0.1334, allocations: 364.9 kB / 0.5429 GB, free: 2.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.1334, allocations: 4 kB / 0.5429 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1334, allocations: 8 kB / 0.5429 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.03e-06/0.1334, allocations: 7.938 kB / 0.5429 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.1336, allocations: 79.84 kB / 0.543 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1337, allocations: 16.36 kB / 0.543 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.134, allocations: 43.83 kB / 0.5431 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.134, allocations: 12 kB / 0.5431 GB, free: 1.859 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.000109/0.1341, allocations: 204.1 kB / 0.5433 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.1342, allocations: 59.62 kB / 0.5433 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006258/0.1349, allocations: 230.2 kB / 0.5435 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1349, allocations: 11.92 kB / 0.5436 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1349, allocations: 0 / 0.5436 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1349, allocations: 0 / 0.5436 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.1353, allocations: 397.3 kB / 0.5439 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1353, allocations: 4 kB / 0.5439 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.1355, allocations: 39.97 kB / 0.544 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1355, allocations: 0 / 0.544 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1355, allocations: 4 kB / 0.544 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1355, allocations: 11.88 kB / 0.544 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1355, allocations: 0 / 0.544 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.1364, allocations: 407 kB / 0.5444 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1365, allocations: 128.8 kB / 0.5445 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.1366, allocations: 4 kB / 0.5445 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/0.1369, allocations: 35.91 kB / 0.5445 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.1369, allocations: 7.984 kB / 0.5445 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.137, allocations: 8 kB / 0.5446 GB, free: 248 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004631/0.1374, allocations: 462.9 kB / 0.545 GB, free: 15.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1374, allocations: 0 / 0.545 GB, free: 15.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006767/0.1381, allocations: 239.6 kB / 0.5452 GB, free: 15.55 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.0009407/0.1391, allocations: 439.9 kB / 0.5456 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00093/0.14, allocations: 393.2 kB / 0.546 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.14, allocations: 0 / 0.546 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.1403, allocations: 84.25 kB / 0.5461 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.1414, allocations: 284.9 kB / 0.5464 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.1444, allocations: 1.169 MB / 0.5475 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.1448, allocations: 0.8586 MB / 0.5483 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.1451, allocations: 100.7 kB / 0.5484 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-05/0.1452, allocations: 43.42 kB / 0.5485 GB, free: 12.29 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1452, allocations: 4 kB / 0.5485 GB, free: 12.29 MB / 430.1 MB Notification: Performance of Templates: time 0.01529/0.1605, allocations: 10.67 MB / 0.5589 GB, free: 1.695 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)