Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") [: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/Complex 3.2.1+maint.om/package.mo): time 0.003417/0.003417, allocations: 180.7 kB / 7.45 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.139/1.139, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001592/0.001592, allocations: 107.9 kB / 217.7 MB, free: 8.156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.153e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06888/0.06891, allocations: 38.76 MB / 300.5 MB, free: 3.895 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.471/9.54, allocations: 3.659 GB / 3.953 GB, free: 85.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/9.54, allocations: 81.14 kB / 3.953 GB, free: 85.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.573/12.11, allocations: 0.5456 GB / 4.498 GB, free: 30.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001447/12.11, allocations: 25.19 kB / 4.498 GB, free: 30.51 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01525/12.13, allocations: 2.994 MB / 4.501 GB, free: 29.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/12.13, allocations: 9.562 kB / 4.501 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/12.13, allocations: 123.7 kB / 4.501 GB, free: 28.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/12.13, allocations: 0.7504 MB / 4.502 GB, free: 28.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/12.13, allocations: 97.61 kB / 4.502 GB, free: 28.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005549/12.13, allocations: 52.78 kB / 4.502 GB, free: 28.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003316/12.14, allocations: 1.31 MB / 4.504 GB, free: 28.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/12.14, allocations: 1.317 MB / 4.505 GB, free: 28.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-05/12.14, allocations: 6.375 kB / 4.505 GB, free: 28.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/12.14, allocations: 7.875 kB / 4.505 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/12.14, allocations: 68.42 kB / 4.505 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/12.15, allocations: 6.142 MB / 4.511 GB, free: 25.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/12.15, allocations: 0.5825 MB / 4.512 GB, free: 25.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007119/12.16, allocations: 449.2 kB / 4.512 GB, free: 25.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/12.16, allocations: 1.244 MB / 4.513 GB, free: 23.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/12.16, allocations: 48.34 kB / 4.513 GB, free: 23.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=76): time 4.448e-06/12.16, allocations: 0 / 4.513 GB, free: 23.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.01748/12.17, allocations: 4.141 MB / 4.517 GB, free: 23.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/12.17, allocations: 119.6 kB / 4.517 GB, free: 23.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/12.18, allocations: 0.5692 MB / 4.518 GB, free: 23.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002347/12.18, allocations: 29.58 kB / 4.518 GB, free: 23.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000351/12.18, allocations: 430.1 kB / 4.518 GB, free: 22.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/12.18, allocations: 303.8 kB / 4.519 GB, free: 22.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/12.18, allocations: 3.438 kB / 4.519 GB, free: 22.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/12.18, allocations: 393 kB / 4.519 GB, free: 22.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000971/12.18, allocations: 0.531 MB / 4.52 GB, free: 22.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/12.18, allocations: 0.9081 MB / 4.52 GB, free: 21.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005591/12.19, allocations: 1.353 MB / 4.522 GB, free: 21.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/12.19, allocations: 3.812 kB / 4.522 GB, free: 21.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.008068/12.19, allocations: 2.286 MB / 4.524 GB, free: 21.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001962/12.2, allocations: 4.7 MB / 4.529 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.453e-05/12.2, allocations: 10.69 kB / 4.529 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/12.2, allocations: 249.6 kB / 4.529 GB, free: 16.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/12.2, allocations: 289.9 kB / 4.529 GB, free: 16.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/12.2, allocations: 0.8604 MB / 4.53 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/12.2, allocations: 97.86 kB / 4.53 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/12.2, allocations: 85.48 kB / 4.53 GB, free: 16.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/12.2, allocations: 7.281 kB / 4.53 GB, free: 16.22 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007353/12.21, allocations: 2.134 MB / 4.532 GB, free: 16.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.727e-05/12.21, allocations: 16.69 kB / 4.532 GB, free: 16.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/12.21, allocations: 248.6 kB / 4.533 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/12.21, allocations: 285.1 kB / 4.533 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009943/12.21, allocations: 0.8644 MB / 4.534 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/12.21, allocations: 84.69 kB / 4.534 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002528/12.21, allocations: 82.31 kB / 4.534 GB, free: 15.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005339/12.21, allocations: 147.6 kB / 4.534 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003668/12.21, allocations: 89.23 kB / 4.534 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004972/12.22, allocations: 1.8 MB / 4.536 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/12.22, allocations: 9.531 kB / 4.536 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/12.22, allocations: 0 / 4.536 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/12.22, allocations: 6.641 kB / 4.536 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007273/12.23, allocations: 3.369 MB / 4.539 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/12.23, allocations: 3.031 kB / 4.539 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/12.23, allocations: 170.7 kB / 4.539 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/12.23, allocations: 308.5 kB / 4.54 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/12.23, allocations: 28.06 kB / 4.54 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009363/12.23, allocations: 0.837 MB / 4.54 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/12.23, allocations: 8.25 kB / 4.54 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005597/12.24, allocations: 2.422 MB / 4.543 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/12.24, allocations: 312.7 kB / 4.543 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/12.24, allocations: 23.25 kB / 4.543 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/12.24, allocations: 57.81 kB / 4.543 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/12.24, allocations: 68.39 kB / 4.543 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/12.24, allocations: 57.31 kB / 4.543 GB, free: 13.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0009092/12.24, allocations: 429.4 kB / 4.544 GB, free: 13.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007176/12.25, allocations: 1.262 MB / 4.545 GB, free: 12.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008238/12.26, allocations: 2.235 MB / 4.547 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005436/12.26, allocations: 2.271 MB / 4.549 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.077e-05/12.26, allocations: 3.406 kB / 4.549 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/12.26, allocations: 0.622 MB / 4.55 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/12.27, allocations: 374.7 kB / 4.55 GB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007385/12.27, allocations: 2.036 MB / 4.552 GB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/12.28, allocations: 1.293 MB / 4.554 GB, free: 10.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.382e-06/12.28, allocations: 2.25 kB / 4.554 GB, free: 10.97 MB / 378.7 MB Notification: Performance of Templates: time 0.09093/12.37, allocations: 45.62 MB / 4.598 GB, free: 404 kB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1)