Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [: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.2891/0.2891, allocations: 54.4 MB / 61.68 MB, free: 11.13 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.001404/0.001404, allocations: 187.9 kB / 75.38 MB, free: 1.492 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.735/1.735, allocations: 194.2 MB / 283.2 MB, free: 3.457 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.001793/0.001793, allocations: 111.8 kB / 341.3 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.276e-06/8.306e-06, allocations: 0 / 404.9 MB, free: 27.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1598, allocations: 57.65 MB / 462.6 MB, free: 1.93 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.43/5.59, allocations: 2.13 GB / 2.582 GB, free: 72.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/5.59, allocations: 84.7 kB / 2.582 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.276/6.866, allocations: 353.7 MB / 2.928 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000115/6.866, allocations: 30.55 kB / 2.928 GB, free: 94.43 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003381/6.869, allocations: 1.289 MB / 2.929 GB, free: 93.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/6.869, allocations: 12.72 kB / 2.929 GB, free: 93.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/6.872, allocations: 321.3 kB / 2.929 GB, free: 93.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/6.874, allocations: 0.9446 MB / 2.93 GB, free: 93.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/6.874, allocations: 30 kB / 2.93 GB, free: 93.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/6.875, allocations: 56.72 kB / 2.93 GB, free: 93.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002174/6.877, allocations: 0.7671 MB / 2.931 GB, free: 93.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/6.879, allocations: 0.7814 MB / 2.932 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/6.879, allocations: 0 / 2.932 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/6.879, allocations: 2.031 kB / 2.932 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/6.879, allocations: 35.59 kB / 2.932 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007436/6.887, allocations: 3.597 MB / 2.935 GB, free: 91.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/6.888, allocations: 439.2 kB / 2.936 GB, free: 91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/6.888, allocations: 217.7 kB / 2.936 GB, free: 90.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/6.888, allocations: 99.47 kB / 2.936 GB, free: 90.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/6.888, allocations: 42.88 kB / 2.936 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 4.599e-06/6.888, allocations: 3.25 kB / 2.936 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.003701/6.892, allocations: 1.253 MB / 2.937 GB, free: 90.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/6.892, allocations: 56.44 kB / 2.937 GB, free: 90.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008494/6.893, allocations: 0.5383 MB / 2.938 GB, free: 89.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/6.893, allocations: 27.56 kB / 2.938 GB, free: 89.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/6.893, allocations: 429.4 kB / 2.938 GB, free: 89.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/6.893, allocations: 162.1 kB / 2.938 GB, free: 89.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/6.893, allocations: 0 / 2.938 GB, free: 89.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001396/6.893, allocations: 382.7 kB / 2.939 GB, free: 88.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/6.894, allocations: 188.7 kB / 2.939 GB, free: 88.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/6.894, allocations: 418.2 kB / 2.939 GB, free: 88.5 MB / 0.4948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/6.897, allocations: 0.8053 MB / 2.94 GB, free: 88.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/6.897, allocations: 5.969 kB / 2.94 GB, free: 88.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001568/6.898, allocations: 0.7169 MB / 2.941 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/6.898, allocations: 5.281 kB / 2.941 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/6.898, allocations: 6.875 kB / 2.941 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/6.899, allocations: 93.44 kB / 2.941 GB, free: 87.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/6.899, allocations: 157.8 kB / 2.941 GB, free: 87.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/6.902, allocations: 2.763 MB / 2.944 GB, free: 85.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/6.903, allocations: 55.73 kB / 2.944 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/6.903, allocations: 32.38 kB / 2.944 GB, free: 85.3 MB / 0.4948 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * 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: 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 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002668/6.903, allocations: 134.3 kB / 2.944 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/6.904, allocations: 84.62 kB / 2.944 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/6.904, allocations: 86.48 kB / 2.944 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/6.904, allocations: 4.5 kB / 2.944 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/6.904, allocations: 0.6562 kB / 2.944 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000946/6.905, allocations: 0.7446 MB / 2.945 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/6.908, allocations: 1.442 MB / 2.946 GB, free: 83.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/6.908, allocations: 5.438 kB / 2.946 GB, free: 83.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/6.908, allocations: 109.6 kB / 2.946 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/6.909, allocations: 64.42 kB / 2.947 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/6.909, allocations: 11.81 kB / 2.947 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/6.91, allocations: 1.49 MB / 2.948 GB, free: 82.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/6.91, allocations: 3.812 kB / 2.948 GB, free: 82.39 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001582/6.912, allocations: 1.011 MB / 2.949 GB, free: 81.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/6.912, allocations: 221.2 kB / 2.949 GB, free: 81.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/6.912, allocations: 7.703 kB / 2.949 GB, free: 81.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000785/6.913, allocations: 53.44 kB / 2.949 GB, free: 81.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/6.913, allocations: 28.09 kB / 2.949 GB, free: 81.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/6.913, allocations: 30.42 kB / 2.949 GB, free: 81.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005659/6.914, allocations: 417.4 kB / 2.95 GB, free: 81.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001961/6.916, allocations: 363.3 kB / 2.95 GB, free: 81.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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: 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002004/6.918, allocations: 1.447 MB / 2.951 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001209/6.919, allocations: 0.677 MB / 2.952 GB, free: 80.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/6.919, allocations: 3.875 kB / 2.952 GB, free: 80.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/6.919, allocations: 310.1 kB / 2.952 GB, free: 80.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/6.922, allocations: 431.7 kB / 2.953 GB, free: 80.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/6.925, allocations: 1.357 MB / 2.954 GB, free: 79.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/6.926, allocations: 1.187 MB / 2.955 GB, free: 78.93 MB / 0.4948 GB Notification: Performance of SimCode: time 1.603e-06/6.926, allocations: 0 / 2.955 GB, free: 78.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.03724/6.963, allocations: 22.72 MB / 2.978 GB, free: 58.24 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)