Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006875/0.006875, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001273/0.001273, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.427/1.427, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4071/0.4071, allocations: 54.95 MB / 324.8 MB, free: 15.98 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.001427/0.001427, allocations: 70 kB / 456.2 MB, free: 38.17 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 59.6 MB / 0.5037 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01474/0.1172, allocations: 15.54 MB / 0.5189 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009817/0.1271, allocations: 6.309 MB / 0.5251 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.1277, allocations: 23.81 kB / 0.5251 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009825/0.1287, allocations: 298.2 kB / 0.5254 GB, free: 4.77 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.001258/0.13, allocations: 0.54 MB / 0.5259 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.1322, allocations: 0.6326 MB / 0.5265 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.1341, allocations: 1.083 MB / 0.5276 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.1347, allocations: 346.4 kB / 0.5279 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008087/0.1355, allocations: 486.1 kB / 0.5284 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.136, allocations: 346.5 kB / 0.5287 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.136, allocations: 36 kB / 0.5287 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009756/0.137, allocations: 0.5227 MB / 0.5292 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.1372, allocations: 119.5 kB / 0.5294 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.1374, allocations: 262.6 kB / 0.5296 GB, free: 428 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1385, allocations: 0.7788 MB / 0.5304 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1385, allocations: 0 / 0.5304 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1385, allocations: 0 / 0.5304 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1385, allocations: 0 / 0.5304 GB, free: 15.64 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001302/0.1398, allocations: 0.8488 MB / 0.5312 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1398, allocations: 12.03 kB / 0.5312 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.1401, allocations: 64.28 kB / 0.5313 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.1409, allocations: 436.5 kB / 0.5317 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.141, allocations: 28.64 kB / 0.5317 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.141, allocations: 39.94 kB / 0.5317 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.1426, allocations: 0.5165 MB / 0.5322 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1426, allocations: 7.938 kB / 0.5323 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.1426, allocations: 16 kB / 0.5323 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.1426, allocations: 8 kB / 0.5323 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1439, allocations: 363.5 kB / 0.5326 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.1462, allocations: 2.034 MB / 0.5346 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1473, allocations: 267.6 kB / 0.5349 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1474, allocations: 54.67 kB / 0.5349 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1475, allocations: 7.922 kB / 0.5349 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1475, allocations: 34.56 kB / 0.535 GB, free: 10.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.923e-06/0.1475, allocations: 0 / 0.535 GB, free: 10.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.002307/0.1498, allocations: 0.489 MB / 0.5354 GB, free: 10.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.534e-05/0.1499, allocations: 154.2 kB / 0.5356 GB, free: 9.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/0.1506, allocations: 0.5184 MB / 0.5361 GB, free: 9.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.1506, allocations: 33.7 kB / 0.5361 GB, free: 9.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.1509, allocations: 287.5 kB / 0.5364 GB, free: 9.082 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1509, allocations: 31.56 kB / 0.5364 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.1511, allocations: 61.69 kB / 0.5365 GB, free: 8.984 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1512, allocations: 358.8 kB / 0.5368 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.1517, allocations: 124.8 kB / 0.5369 GB, free: 8.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.1522, allocations: 269.9 kB / 0.5372 GB, free: 8.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/0.1531, allocations: 326.7 kB / 0.5375 GB, free: 7.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1531, allocations: 4 kB / 0.5375 GB, free: 7.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001053/0.1542, allocations: 395.5 kB / 0.5379 GB, free: 7.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1542, allocations: 11.94 kB / 0.5379 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1542, allocations: 0 / 0.5379 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1542, allocations: 8 kB / 0.5379 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.1547, allocations: 96.17 kB / 0.538 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1547, allocations: 4 kB / 0.538 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.1552, allocations: 67.55 kB / 0.5381 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.1552, allocations: 19.94 kB / 0.5381 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002943/0.1555, allocations: 196.1 kB / 0.5383 GB, free: 7.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002745/0.1558, allocations: 236 kB / 0.5385 GB, free: 6.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003524/0.1562, allocations: 226.8 kB / 0.5387 GB, free: 6.453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/0.1562, allocations: 4 kB / 0.5387 GB, free: 6.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.000528/0.1567, allocations: 292.8 kB / 0.539 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.1568, allocations: 11.94 kB / 0.539 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1568, allocations: 7.984 kB / 0.539 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.1568, allocations: 7.938 kB / 0.539 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.157, allocations: 59.91 kB / 0.5391 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.157, allocations: 4 kB / 0.5391 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.1574, allocations: 40.12 kB / 0.5391 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1574, allocations: 12 kB / 0.5391 GB, free: 6.016 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 31 * 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.0001578/0.1576, allocations: 200.1 kB / 0.5393 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.1577, allocations: 55.28 kB / 0.5394 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.356e-05/0.1578, allocations: 44.03 kB / 0.5394 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1578, allocations: 4 kB / 0.5394 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1578, allocations: 0 / 0.5394 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1578, allocations: 0 / 0.5394 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007942/0.1586, allocations: 0.5969 MB / 0.54 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1587, allocations: 7.938 kB / 0.54 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.1589, allocations: 43.89 kB / 0.5401 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1589, allocations: 4 kB / 0.5401 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.159, allocations: 0 / 0.5401 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.159, allocations: 4 kB / 0.5401 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.159, allocations: 3.984 kB / 0.5401 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.1599, allocations: 376.5 kB / 0.5404 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.16, allocations: 120.5 kB / 0.5406 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.1601, allocations: 0 / 0.5406 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.1605, allocations: 39.95 kB / 0.5406 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.1605, allocations: 11.98 kB / 0.5406 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1606, allocations: 4 kB / 0.5406 GB, free: 4.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004087/0.161, allocations: 370.8 kB / 0.541 GB, free: 4.047 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.161, allocations: 0 / 0.541 GB, free: 4.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007272/0.1617, allocations: 203.7 kB / 0.5412 GB, free: 3.848 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.001057/0.1628, allocations: 429.8 kB / 0.5416 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.164, allocations: 388.4 kB / 0.5419 GB, free: 3.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.164, allocations: 4 kB / 0.5419 GB, free: 3.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.1644, allocations: 99.86 kB / 0.542 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.1656, allocations: 244.8 kB / 0.5423 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.1705, allocations: 1.29 MB / 0.5435 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.1709, allocations: 0.8309 MB / 0.5443 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003718/0.1713, allocations: 92.2 kB / 0.5444 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.1714, allocations: 47.42 kB / 0.5445 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1714, allocations: 0 / 0.5445 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of Templates: time 0.01669/0.1881, allocations: 9.151 MB / 0.5534 GB, free: 7.449 MB / 430.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)