Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.313/0.313, allocations: 55.02 MB / 69.96 MB, free: 8.676 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.001143/0.001143, allocations: 183.5 kB / 83.97 MB, free: 10.87 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.893/1.893, allocations: 194.4 MB / 292.3 MB, free: 3.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002016/0.002016, allocations: 111.9 kB / 350.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.000457, allocations: 12 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1803, allocations: 57.65 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.391, allocations: 338.6 MB / 0.796 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/1.392, allocations: 98.19 kB / 0.7961 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9355/2.327, allocations: 277 MB / 1.067 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.743e-06/2.327, allocations: 0 / 1.067 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001073/2.327, allocations: 27.98 kB / 1.067 GB, free: 19.93 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002953/2.33, allocations: 1.086 MB / 1.068 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/2.33, allocations: 8.031 kB / 1.068 GB, free: 18.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/2.331, allocations: 174.9 kB / 1.068 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/2.333, allocations: 0.554 MB / 1.068 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/2.333, allocations: 40.95 kB / 1.068 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/2.333, allocations: 52 kB / 1.069 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/2.337, allocations: 1.154 MB / 1.07 GB, free: 16.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/2.337, allocations: 3.938 kB / 1.07 GB, free: 16.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.614e-05/2.337, allocations: 20 kB / 1.07 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/2.337, allocations: 12 kB / 1.07 GB, free: 16.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003853/2.341, allocations: 1.002 MB / 1.071 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003899/2.345, allocations: 2.654 MB / 1.073 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/2.349, allocations: 0.8545 MB / 1.074 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/2.349, allocations: 113.1 kB / 1.074 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/2.349, allocations: 46.5 kB / 1.074 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 3.367e-06/2.349, allocations: 0 / 1.074 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.006998/2.356, allocations: 1.562 MB / 1.076 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/2.356, allocations: 162.2 kB / 1.076 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/2.357, allocations: 0.5779 MB / 1.076 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/2.357, allocations: 33.7 kB / 1.076 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/2.357, allocations: 363.8 kB / 1.077 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.992e-05/2.358, allocations: 67.11 kB / 1.077 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/2.358, allocations: 12 kB / 1.077 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001209/2.358, allocations: 382.7 kB / 1.077 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/2.359, allocations: 352.6 kB / 1.078 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/2.36, allocations: 0.5076 MB / 1.078 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/2.361, allocations: 379.6 kB / 1.078 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/2.361, allocations: 0 / 1.078 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002549/2.363, allocations: 0.91 MB / 1.079 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004349/2.364, allocations: 1.13 MB / 1.08 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/2.364, allocations: 8 kB / 1.08 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/2.364, allocations: 8 kB / 1.08 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004727/2.369, allocations: 0.7999 MB / 1.081 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/2.371, allocations: 2.109 MB / 1.083 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/2.373, allocations: 215.3 kB / 1.084 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/2.373, allocations: 15.98 kB / 1.084 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/2.373, allocations: 4.109 kB / 1.084 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007076/2.374, allocations: 363.5 kB / 1.084 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/2.374, allocations: 4.375 kB / 1.084 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/2.374, allocations: 8 kB / 1.084 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/2.374, allocations: 111.9 kB / 1.084 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/2.374, allocations: 4 kB / 1.084 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000828/2.375, allocations: 91.52 kB / 1.084 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/2.375, allocations: 15.94 kB / 1.084 GB, free: 1.375 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004959/2.375, allocations: 272.9 kB / 1.084 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/2.376, allocations: 75.14 kB / 1.084 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/2.378, allocations: 0.6911 MB / 1.085 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/2.378, allocations: 4 kB / 1.085 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/2.378, allocations: 0 / 1.085 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/2.378, allocations: 0 / 1.085 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3737/2.752, allocations: 0.7418 MB / 1.086 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/2.752, allocations: 0.9062 kB / 1.086 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005092/2.757, allocations: 0.7698 MB / 1.087 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/2.757, allocations: 5.094 kB / 1.087 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/2.757, allocations: 12.39 kB / 1.087 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/2.764, allocations: 4.815 MB / 1.091 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/2.764, allocations: 1.984 kB / 1.091 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/2.767, allocations: 0.8118 MB / 1.092 GB, free: 96.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/2.768, allocations: 149.2 kB / 1.092 GB, free: 96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-05/2.768, allocations: 7.656 kB / 1.092 GB, free: 96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/2.769, allocations: 166.4 kB / 1.092 GB, free: 96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/2.769, allocations: 22.5 kB / 1.092 GB, free: 96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/2.769, allocations: 15.8 kB / 1.092 GB, free: 96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008787/2.77, allocations: 455.9 kB / 1.093 GB, free: 95.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.21e-07/2.77, allocations: 0 / 1.093 GB, free: 95.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001726/2.772, allocations: 365.9 kB / 1.093 GB, free: 95.89 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009304/2.773, allocations: 343.1 kB / 1.094 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007902/2.781, allocations: 1.482 MB / 1.095 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/2.781, allocations: 1.094 kB / 1.095 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008649/2.789, allocations: 1.384 MB / 1.096 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/2.792, allocations: 376.9 kB / 1.097 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02083/2.813, allocations: 4.126 MB / 1.101 GB, free: 95.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/2.814, allocations: 0.9134 MB / 1.102 GB, free: 94.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001157/2.815, allocations: 130.3 kB / 1.102 GB, free: 94.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/2.815, allocations: 59.03 kB / 1.102 GB, free: 94.48 MB / 0.4948 GB Notification: Performance of SimCode: time 1.864e-06/2.815, allocations: 0.8438 kB / 1.102 GB, free: 94.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.03377/2.849, allocations: 15.82 MB / 1.117 GB, free: 94.06 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)