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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.2945/0.2945, allocations: 54.4 MB / 61.88 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001332/0.001332, allocations: 175.5 kB / 75.61 MB, free: 0.7617 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.473/1.473, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0016/0.0016, allocations: 112.7 kB / 341.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.675e-05, allocations: 4.219 kB / 405.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3603, allocations: 57.64 MB / 463.1 MB, free: 51.81 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6246/0.985, allocations: 337.6 MB / 0.782 GB, free: 3.719 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.9853, allocations: 97.47 kB / 0.7821 GB, free: 3.668 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5887/1.574, allocations: 161.7 MB / 0.94 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.045e-06/1.574, allocations: 0 / 0.94 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.634e-05/1.574, allocations: 19.38 kB / 0.94 GB, free: 88.33 MB / 0.4948 GB 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.00174/1.576, allocations: 0.7646 MB / 0.9407 GB, free: 87.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.576, allocations: 12.03 kB / 0.9407 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/1.576, allocations: 63.34 kB / 0.9408 GB, free: 87.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/1.577, allocations: 440.4 kB / 0.9412 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/1.577, allocations: 11.95 kB / 0.9412 GB, free: 86.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/1.577, allocations: 24 kB / 0.9413 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003265/1.578, allocations: 157.5 kB / 0.9414 GB, free: 86.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/1.578, allocations: 313.2 kB / 0.9417 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.578, allocations: 0 / 0.9417 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/1.578, allocations: 0 / 0.9417 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/1.578, allocations: 15.98 kB / 0.9417 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/1.58, allocations: 1.958 MB / 0.9436 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/1.581, allocations: 115.8 kB / 0.9437 GB, free: 84.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/1.581, allocations: 38.7 kB / 0.9438 GB, free: 84.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/1.581, allocations: 8 kB / 0.9438 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/1.581, allocations: 38.45 kB / 0.9438 GB, free: 84.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/1.581, allocations: 0 / 0.9438 GB, free: 84.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.001036/1.582, allocations: 241.1 kB / 0.9441 GB, free: 83.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.582, allocations: 162.2 kB / 0.9442 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/1.582, allocations: 373.1 kB / 0.9446 GB, free: 83.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/1.582, allocations: 29.7 kB / 0.9446 GB, free: 83.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/1.583, allocations: 278.7 kB / 0.9449 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/1.583, allocations: 31.56 kB / 0.9449 GB, free: 82.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/1.583, allocations: 0 / 0.9449 GB, free: 82.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/1.583, allocations: 346.8 kB / 0.9452 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/1.583, allocations: 59.98 kB / 0.9453 GB, free: 82.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/1.583, allocations: 227.2 kB / 0.9455 GB, free: 82.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/1.583, allocations: 91.75 kB / 0.9456 GB, free: 82.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.583, allocations: 0 / 0.9456 GB, free: 82.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004132/1.584, allocations: 260.9 kB / 0.9458 GB, free: 81.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002708/1.584, allocations: 1.167 MB / 0.947 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.584, allocations: 4 kB / 0.947 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/1.584, allocations: 7.984 kB / 0.947 GB, free: 80.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/1.584, allocations: 91.88 kB / 0.9471 GB, free: 80.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.584, allocations: 7.984 kB / 0.9471 GB, free: 80.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/1.585, allocations: 83.66 kB / 0.9472 GB, free: 80.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/1.585, allocations: 15.94 kB / 0.9472 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.585, allocations: 4.625 kB / 0.9472 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002741/1.585, allocations: 162.8 kB / 0.9473 GB, free: 80.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.585, allocations: 4 kB / 0.9473 GB, free: 80.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/1.585, allocations: 4 kB / 0.9473 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.586, allocations: 63.91 kB / 0.9474 GB, free: 80.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.586, allocations: 7.938 kB / 0.9474 GB, free: 80.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/1.586, allocations: 47.95 kB / 0.9475 GB, free: 80.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/1.586, allocations: 12 kB / 0.9475 GB, free: 80.18 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.586, allocations: 112.9 kB / 0.9476 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/1.586, allocations: 43.52 kB / 0.9476 GB, free: 80.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/1.586, allocations: 129.2 kB / 0.9477 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.586, allocations: 4 kB / 0.9477 GB, free: 79.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.587, allocations: 4 kB / 0.9477 GB, free: 79.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.587, allocations: 0 / 0.9477 GB, free: 79.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/1.587, allocations: 0.5535 MB / 0.9483 GB, free: 79.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.587, allocations: 0 / 0.9483 GB, free: 79.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/1.587, allocations: 59.95 kB / 0.9483 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.588, allocations: 4 kB / 0.9483 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/1.588, allocations: 0 / 0.9483 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.588, allocations: 3.953 kB / 0.9484 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.588, allocations: 4.156 kB / 0.9484 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/1.588, allocations: 276 kB / 0.9486 GB, free: 78.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/1.588, allocations: 124.5 kB / 0.9487 GB, free: 78.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/1.588, allocations: 4 kB / 0.9487 GB, free: 78.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/1.588, allocations: 55.94 kB / 0.9488 GB, free: 78.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/1.588, allocations: 7.984 kB / 0.9488 GB, free: 78.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/1.588, allocations: 8 kB / 0.9488 GB, free: 78.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002519/1.589, allocations: 282.9 kB / 0.9491 GB, free: 78.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.589, allocations: 0 / 0.9491 GB, free: 78.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008249/1.59, allocations: 227.5 kB / 0.9493 GB, free: 78.18 MB / 0.4948 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009957/1.591, allocations: 389 kB / 0.9497 GB, free: 77.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005126/1.591, allocations: 367.8 kB / 0.95 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.591, allocations: 5.5 kB / 0.95 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/1.591, allocations: 47.92 kB / 0.9501 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.592, allocations: 185.8 kB / 0.9502 GB, free: 77.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/1.596, allocations: 1.029 MB / 0.9513 GB, free: 76.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/1.597, allocations: 0.8469 MB / 0.9521 GB, free: 75.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005773/1.597, allocations: 119.3 kB / 0.9522 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/1.597, allocations: 27.42 kB / 0.9522 GB, free: 75.15 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/1.597, allocations: 4 kB / 0.9522 GB, free: 75.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.01408/1.611, allocations: 8.378 MB / 0.9604 GB, free: 66.78 MB / 0.4948 GB 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)