Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Annex60.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation") [: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.2871/0.2871, allocations: 54.4 MB / 61.68 MB, free: 11.17 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.001356/0.001356, allocations: 186.6 kB / 75.38 MB, free: 1.547 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.767/1.767, allocations: 194.2 MB / 283.2 MB, free: 3.637 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.001747/0.001747, allocations: 123.1 kB / 341.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.678e-06/9.718e-06, allocations: 4 kB / 405 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 57.63 MB / 462.6 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.204, allocations: 328.4 MB / 0.7725 GB, free: 63.02 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/1.204, allocations: 82.14 kB / 0.7726 GB, free: 62.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.8048/2.009, allocations: 234.5 MB / 1.002 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.879e-05/2.009, allocations: 19.98 kB / 1.002 GB, free: 52.04 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002426/2.012, allocations: 0.9215 MB / 1.002 GB, free: 51.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/2.012, allocations: 11.97 kB / 1.002 GB, free: 51.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/2.013, allocations: 199 kB / 1.003 GB, free: 50.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02778/2.041, allocations: 11.18 MB / 1.014 GB, free: 39.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/2.041, allocations: 100.9 kB / 1.014 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/2.041, allocations: 28 kB / 1.014 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000777/2.042, allocations: 333.8 kB / 1.014 GB, free: 39.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008266/2.043, allocations: 0.4947 MB / 1.015 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/2.043, allocations: 3.938 kB / 1.015 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/2.043, allocations: 4 kB / 1.015 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/2.043, allocations: 12 kB / 1.015 GB, free: 38.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/2.047, allocations: 3.064 MB / 1.018 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/2.047, allocations: 258.9 kB / 1.018 GB, free: 34.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/2.048, allocations: 161.1 kB / 1.018 GB, free: 34.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/2.048, allocations: 8.219 kB / 1.018 GB, free: 34.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/2.048, allocations: 261.4 kB / 1.018 GB, free: 34.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 3.116e-06/2.048, allocations: 0 / 1.018 GB, free: 34.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.004897/2.053, allocations: 1.393 MB / 1.02 GB, free: 33.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/2.053, allocations: 195.8 kB / 1.02 GB, free: 32.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/2.053, allocations: 381.2 kB / 1.02 GB, free: 32.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/2.054, allocations: 33.7 kB / 1.02 GB, free: 32.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/2.054, allocations: 251.6 kB / 1.02 GB, free: 32.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/2.054, allocations: 110.4 kB / 1.02 GB, free: 32.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/2.054, allocations: 0 / 1.02 GB, free: 32.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/2.054, allocations: 362.8 kB / 1.021 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/2.054, allocations: 132.8 kB / 1.021 GB, free: 31.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/2.054, allocations: 302.4 kB / 1.021 GB, free: 31.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/2.055, allocations: 181.7 kB / 1.021 GB, free: 30.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/2.055, allocations: 0 / 1.021 GB, free: 30.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002786/2.058, allocations: 0.7939 MB / 1.022 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003325/2.058, allocations: 1.308 MB / 1.023 GB, free: 28.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/2.058, allocations: 4 kB / 1.023 GB, free: 28.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/2.058, allocations: 100.7 kB / 1.024 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/2.059, allocations: 111.9 kB / 1.024 GB, free: 28.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/2.06, allocations: 0.8255 MB / 1.024 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/2.061, allocations: 99.81 kB / 1.025 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/2.061, allocations: 19.98 kB / 1.025 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/2.061, allocations: 4 kB / 1.025 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007047/2.062, allocations: 388 kB / 1.025 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/2.062, allocations: 4 kB / 1.025 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/2.062, allocations: 57.27 kB / 1.025 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/2.063, allocations: 111.9 kB / 1.025 GB, free: 27.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/2.064, allocations: 1.509 MB / 1.027 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/2.065, allocations: 59.91 kB / 1.027 GB, free: 25.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/2.065, allocations: 24.06 kB / 1.027 GB, free: 25.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002317/2.065, allocations: 154.7 kB / 1.027 GB, free: 25.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/2.065, allocations: 55.34 kB / 1.027 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/2.068, allocations: 0.7339 MB / 1.028 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/2.068, allocations: 0 / 1.028 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/2.068, allocations: 0 / 1.028 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002297/2.07, allocations: 0.9017 MB / 1.028 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/2.074, allocations: 1.374 MB / 1.03 GB, free: 21.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/2.074, allocations: 0 / 1.03 GB, free: 21.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/2.074, allocations: 79.91 kB / 1.03 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003055/2.075, allocations: 121.8 kB / 1.03 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/2.075, allocations: 7.984 kB / 1.03 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00487/2.079, allocations: 2.623 MB / 1.033 GB, free: 18.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/2.079, allocations: 4 kB / 1.033 GB, free: 18.94 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002779/2.082, allocations: 1.072 MB / 1.034 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/2.083, allocations: 180.4 kB / 1.034 GB, free: 17.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/2.083, allocations: 4.125 kB / 1.034 GB, free: 17.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/2.084, allocations: 91.98 kB / 1.034 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/2.084, allocations: 23.88 kB / 1.034 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/2.084, allocations: 19.98 kB / 1.034 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003591/2.084, allocations: 294.9 kB / 1.034 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001782/2.086, allocations: 351.8 kB / 1.035 GB, free: 16.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009296/2.087, allocations: 406 kB / 1.035 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002122/2.089, allocations: 0.8875 MB / 1.036 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/2.089, allocations: 0 / 1.036 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/2.09, allocations: 487.6 kB / 1.036 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/2.092, allocations: 220.2 kB / 1.036 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/2.094, allocations: 0.83 MB / 1.037 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/2.094, allocations: 0.9558 MB / 1.038 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/2.094, allocations: 0 / 1.038 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.3051/2.399, allocations: 13.84 MB / 1.052 GB, free: 159.2 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)