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/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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2723/0.2723, allocations: 54.4 MB / 61.68 MB, free: 11.16 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.001287/0.001287, allocations: 184.5 kB / 75.37 MB, free: 1.461 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.379/1.379, allocations: 194.2 MB / 283.2 MB, free: 3.547 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.001672/0.001672, allocations: 107.7 kB / 341.3 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.204e-06/7.234e-06, allocations: 0 / 404.9 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 57.64 MB / 462.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8303/0.9514, allocations: 342.1 MB / 0.7859 GB, free: 49.66 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.9518, allocations: 91.78 kB / 0.786 GB, free: 49.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.5872/1.539, allocations: 162.6 MB / 0.9448 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.397e-05/1.539, allocations: 16 kB / 0.9448 GB, free: 110.1 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002022/1.541, allocations: 0.8157 MB / 0.9456 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.541, allocations: 11.97 kB / 0.9456 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005366/1.542, allocations: 75.25 kB / 0.9457 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/1.543, allocations: 472.8 kB / 0.9461 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/1.543, allocations: 8 kB / 0.9461 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/1.543, allocations: 24 kB / 0.9462 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004515/1.544, allocations: 185.3 kB / 0.9463 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/1.544, allocations: 341.1 kB / 0.9467 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/1.544, allocations: 3.938 kB / 0.9467 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/1.544, allocations: 0 / 0.9467 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/1.544, allocations: 12 kB / 0.9467 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/1.547, allocations: 2.138 MB / 0.9488 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/1.547, allocations: 110.6 kB / 0.9489 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.349e-05/1.547, allocations: 40.98 kB / 0.9489 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/1.548, allocations: 0.9854 MB / 0.9499 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/1.548, allocations: 42.5 kB / 0.9499 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/1.548, allocations: 0 / 0.9499 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0009305/1.549, allocations: 220.9 kB / 0.9501 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/1.549, allocations: 106.8 kB / 0.9502 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/1.55, allocations: 493.2 kB / 0.9507 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/1.55, allocations: 29.7 kB / 0.9507 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.55, allocations: 259.1 kB / 0.951 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/1.55, allocations: 43.45 kB / 0.951 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/1.55, allocations: 0 / 0.951 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/1.55, allocations: 350.8 kB / 0.9513 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/1.55, allocations: 67.98 kB / 0.9514 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/1.55, allocations: 263.8 kB / 0.9517 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/1.551, allocations: 124 kB / 0.9518 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/1.551, allocations: 0 / 0.9518 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005853/1.551, allocations: 332.6 kB / 0.9521 GB, free: 102 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005086/1.552, allocations: 1.671 MB / 0.9537 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/1.552, allocations: 4 kB / 0.9537 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/1.552, allocations: 11.91 kB / 0.9537 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/1.552, allocations: 95.89 kB / 0.9538 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/1.552, allocations: 15.92 kB / 0.9539 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/1.553, allocations: 63.59 kB / 0.9539 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/1.553, allocations: 19.91 kB / 0.9539 GB, free: 100 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.553, allocations: 4 kB / 0.9539 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004981/1.554, allocations: 239.8 kB / 0.9542 GB, free: 99.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.554, allocations: 4 kB / 0.9542 GB, free: 99.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/1.554, allocations: 4 kB / 0.9542 GB, free: 99.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/1.554, allocations: 87.83 kB / 0.9543 GB, free: 99.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.554, allocations: 8 kB / 0.9543 GB, free: 99.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/1.554, allocations: 47.91 kB / 0.9543 GB, free: 99.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/1.554, allocations: 12 kB / 0.9543 GB, free: 99.65 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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.000122/1.554, allocations: 124.7 kB / 0.9544 GB, free: 99.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/1.555, allocations: 47.44 kB / 0.9545 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/1.555, allocations: 177.4 kB / 0.9547 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.555, allocations: 4 kB / 0.9547 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.555, allocations: 0 / 0.9547 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.555, allocations: 7.891 kB / 0.9547 GB, free: 99.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/1.555, allocations: 349 kB / 0.955 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.555, allocations: 0 / 0.955 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/1.556, allocations: 47.91 kB / 0.955 GB, free: 98.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/1.556, allocations: 3.984 kB / 0.955 GB, free: 98.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/1.556, allocations: 3.906 kB / 0.9551 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.556, allocations: 0 / 0.9551 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.556, allocations: 4 kB / 0.9551 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004129/1.556, allocations: 310.8 kB / 0.9554 GB, free: 98.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/1.556, allocations: 140.5 kB / 0.9555 GB, free: 98.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/1.556, allocations: 0 / 0.9555 GB, free: 98.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/1.557, allocations: 35.86 kB / 0.9555 GB, free: 98.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/1.557, allocations: 15.98 kB / 0.9555 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/1.557, allocations: 4 kB / 0.9555 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003657/1.557, allocations: 370.9 kB / 0.9559 GB, free: 97.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009667/1.558, allocations: 263.6 kB / 0.9561 GB, free: 97.7 MB / 0.4948 GB 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 () * 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 (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.0009802/1.559, allocations: 425.2 kB / 0.9566 GB, free: 97.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005509/1.56, allocations: 373.5 kB / 0.9569 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.56, allocations: 2.25 kB / 0.9569 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/1.56, allocations: 47.92 kB / 0.957 GB, free: 96.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/1.561, allocations: 197.8 kB / 0.9571 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/1.564, allocations: 0.9218 MB / 0.958 GB, free: 95.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/1.564, allocations: 0.9093 MB / 0.9589 GB, free: 94.82 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/1.564, allocations: 4 kB / 0.9589 GB, free: 94.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.01863/1.583, allocations: 10.67 MB / 0.9694 GB, free: 84.2 MB / 0.4948 GB 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)