Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [: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.2825/0.2825, allocations: 54.39 MB / 61.67 MB, free: 11.18 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.001232/0.001232, allocations: 185.6 kB / 75.37 MB, free: 1.512 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.607/1.607, allocations: 194.2 MB / 283.2 MB, free: 3.488 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.001711/0.001711, allocations: 111.5 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.05e-05, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1619, allocations: 57.64 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.41/5.572, allocations: 2.129 GB / 2.581 GB, free: 73.37 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/5.573, allocations: 83.95 kB / 2.581 GB, free: 73.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.7697/6.342, allocations: 207.3 MB / 2.783 GB, free: 66.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.614e-05/6.342, allocations: 16 kB / 2.783 GB, free: 66.69 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002479/6.345, allocations: 0.8296 MB / 2.784 GB, free: 65.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/6.345, allocations: 11.97 kB / 2.784 GB, free: 65.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/6.347, allocations: 175.1 kB / 2.784 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/6.348, allocations: 0.5712 MB / 2.785 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/6.348, allocations: 19.91 kB / 2.785 GB, free: 65.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/6.348, allocations: 31.98 kB / 2.785 GB, free: 64.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008508/6.349, allocations: 417.8 kB / 2.785 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008732/6.35, allocations: 440.5 kB / 2.786 GB, free: 64.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/6.35, allocations: 0 / 2.786 GB, free: 64.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/6.35, allocations: 8 kB / 2.786 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/6.35, allocations: 17 kB / 2.786 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/6.354, allocations: 1.968 MB / 2.788 GB, free: 62.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/6.354, allocations: 162 kB / 2.788 GB, free: 61.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/6.354, allocations: 122.2 kB / 2.788 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/6.354, allocations: 91.91 kB / 2.788 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/6.354, allocations: 42.5 kB / 2.788 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 2.464e-06/6.354, allocations: 0 / 2.788 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001673/6.356, allocations: 0.7127 MB / 2.789 GB, free: 60.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/6.356, allocations: 59.27 kB / 2.789 GB, free: 60.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/6.356, allocations: 353 kB / 2.789 GB, free: 60.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/6.356, allocations: 25.7 kB / 2.789 GB, free: 60.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/6.356, allocations: 271.1 kB / 2.79 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/6.357, allocations: 86.75 kB / 2.79 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/6.357, allocations: 0 / 2.79 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001038/6.357, allocations: 354.8 kB / 2.79 GB, free: 59.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/6.357, allocations: 104.8 kB / 2.79 GB, free: 59.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/6.357, allocations: 255.1 kB / 2.79 GB, free: 59.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/6.357, allocations: 165 kB / 2.791 GB, free: 59.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/6.357, allocations: 0 / 2.791 GB, free: 59.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005858/6.358, allocations: 394.9 kB / 2.791 GB, free: 58.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/6.358, allocations: 4.625 kB / 2.791 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/6.358, allocations: 4 kB / 2.791 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/6.358, allocations: 12 kB / 2.791 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/6.358, allocations: 83.84 kB / 2.791 GB, free: 58.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/6.358, allocations: 15.92 kB / 2.791 GB, free: 58.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/6.359, allocations: 19.89 kB / 2.791 GB, free: 58.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/6.359, allocations: 20 kB / 2.791 GB, free: 58.51 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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 prepare postOptimizeDAE: time 0.0001173/6.359, allocations: 120.8 kB / 2.791 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.957e-05/6.359, allocations: 43.53 kB / 2.791 GB, free: 58.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/6.359, allocations: 43.67 kB / 2.791 GB, free: 58.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/6.359, allocations: 4 kB / 2.791 GB, free: 58.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/6.359, allocations: 0 / 2.791 GB, free: 58.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002865/6.36, allocations: 308.4 kB / 2.792 GB, free: 57.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/6.361, allocations: 0.8463 MB / 2.792 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/6.361, allocations: 0 / 2.792 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/6.361, allocations: 63.91 kB / 2.792 GB, free: 57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/6.361, allocations: 0 / 2.792 GB, free: 57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/6.361, allocations: 7.984 kB / 2.792 GB, free: 56.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/6.361, allocations: 8.156 kB / 2.792 GB, free: 56.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/6.361, allocations: 8 kB / 2.792 GB, free: 56.97 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006228/6.362, allocations: 0.5825 MB / 2.793 GB, free: 56.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/6.362, allocations: 164.5 kB / 2.793 GB, free: 56.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/6.362, allocations: 4.062 kB / 2.793 GB, free: 56.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/6.363, allocations: 31.88 kB / 2.793 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/6.363, allocations: 11.98 kB / 2.793 GB, free: 56.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/6.363, allocations: 23.92 kB / 2.793 GB, free: 56.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002779/6.363, allocations: 267.2 kB / 2.794 GB, free: 55.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008528/6.364, allocations: 201.7 kB / 2.794 GB, free: 55.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002209/6.366, allocations: 1.072 MB / 2.795 GB, free: 54.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004921/6.367, allocations: 259.7 kB / 2.795 GB, free: 54.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/6.367, allocations: 0 / 2.795 GB, free: 54.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/6.367, allocations: 113.3 kB / 2.795 GB, free: 54.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/6.368, allocations: 238.9 kB / 2.795 GB, free: 54.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/6.37, allocations: 0.7762 MB / 2.796 GB, free: 53.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005852/6.37, allocations: 0.9516 MB / 2.797 GB, free: 52.25 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/6.371, allocations: 0 / 2.797 GB, free: 52.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.02417/6.395, allocations: 13.36 MB / 2.81 GB, free: 38.95 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)