Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007595/0.0007595, allocations: 94.83 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005208/0.005208, allocations: 176 kB / 16.27 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004806, allocations: 11.98 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2536, allocations: 47.57 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4909/0.7445, allocations: 209.7 MB / 0.5241 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01964/0.7642, allocations: 13.51 MB / 0.5373 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.7658, allocations: 29.16 kB / 0.5373 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.7675, allocations: 409.1 kB / 0.5377 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.7797, allocations: 3.177 MB / 0.5408 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007894/0.7876, allocations: 2.457 MB / 0.5432 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004793/0.7924, allocations: 3.776 MB / 0.5469 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.7937, allocations: 0.6527 MB / 0.5476 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008079/0.8018, allocations: 2.796 MB / 0.5503 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/0.8043, allocations: 1.082 MB / 0.5513 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002785/0.8046, allocations: 60 kB / 0.5514 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.819, allocations: 6.878 MB / 0.5581 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.8201, allocations: 488.3 kB / 0.5586 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.8212, allocations: 0.5989 MB / 0.5592 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.8353, allocations: 4.976 MB / 0.564 GB, free: 8.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8353, allocations: 0 / 0.564 GB, free: 8.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.8353, allocations: 7.938 kB / 0.564 GB, free: 8.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.851e-05/0.8354, allocations: 0 / 0.564 GB, free: 8.672 MB / 430.1 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.005722/0.8411, allocations: 1.894 MB / 0.5659 GB, free: 6.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.8412, allocations: 12.03 kB / 0.5659 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.8419, allocations: 126.7 kB / 0.566 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.8435, allocations: 0.6781 MB / 0.5667 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.8437, allocations: 137.5 kB / 0.5668 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.8439, allocations: 98.56 kB / 0.5669 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.8463, allocations: 1.469 MB / 0.5683 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.8463, allocations: 3.938 kB / 0.5683 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.8465, allocations: 38.66 kB / 0.5684 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.814e-05/0.8466, allocations: 69.97 kB / 0.5685 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.8489, allocations: 1.475 MB / 0.5699 GB, free: 2.531 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.8592, allocations: 6.35 MB / 0.5761 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.8611, allocations: 0.9955 MB / 0.5771 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/0.8619, allocations: 0.5269 MB / 0.5776 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/0.8636, allocations: 2.059 MB / 0.5796 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.8637, allocations: 51.5 kB / 0.5796 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000561/0.8643, allocations: 103 kB / 0.5797 GB, free: 7.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 4.389e-06/0.8643, allocations: 3.938 kB / 0.5797 GB, free: 7.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01666/0.881, allocations: 4.958 MB / 0.5846 GB, free: 2.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.8811, allocations: 115.8 kB / 0.5847 GB, free: 2.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.8821, allocations: 0.7738 MB / 0.5854 GB, free: 1.719 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.8823, allocations: 45.7 kB / 0.5855 GB, free: 1.668 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.8826, allocations: 453.6 kB / 0.5859 GB, free: 1.223 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.8829, allocations: 344.7 kB / 0.5863 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.8831, allocations: 105.7 kB / 0.5864 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.8832, allocations: 402.7 kB / 0.5867 GB, free: 384 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.8845, allocations: 0.6169 MB / 0.5873 GB, free: 15.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.8859, allocations: 0.9693 MB / 0.5883 GB, free: 14.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.8887, allocations: 1.678 MB / 0.5899 GB, free: 12.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.8887, allocations: 3.938 kB / 0.5899 GB, free: 12.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004042/0.8928, allocations: 1.961 MB / 0.5918 GB, free: 10.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003943/0.8932, allocations: 454.8 kB / 0.5923 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.8932, allocations: 12 kB / 0.5923 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.8949, allocations: 335.3 kB / 0.5926 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.896, allocations: 271.5 kB / 0.5929 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.8977, allocations: 0.9252 MB / 0.5938 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.8989, allocations: 107.8 kB / 0.5939 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.8991, allocations: 75.97 kB / 0.5939 GB, free: 8.488 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.8991, allocations: 4 kB / 0.594 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003654/0.9028, allocations: 1.839 MB / 0.5957 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.9028, allocations: 8.078 kB / 0.5958 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.9044, allocations: 342.9 kB / 0.5961 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.9055, allocations: 267.5 kB / 0.5963 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.9071, allocations: 0.9267 MB / 0.5972 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.9083, allocations: 107.9 kB / 0.5973 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.9084, allocations: 79.91 kB / 0.5974 GB, free: 4.895 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0006995/0.9091, allocations: 408.7 kB / 0.5978 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.9094, allocations: 94.88 kB / 0.5979 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/0.9132, allocations: 1.944 MB / 0.5998 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.9132, allocations: 15.94 kB / 0.5998 GB, free: 2.398 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.9132, allocations: 7.984 kB / 0.5998 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.9132, allocations: 3.984 kB / 0.5998 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/0.9187, allocations: 3.043 MB / 0.6028 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.9187, allocations: 4.188 kB / 0.6028 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008253/0.9195, allocations: 183.7 kB / 0.603 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002029/0.9216, allocations: 399.3 kB / 0.6034 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.936e-05/0.9217, allocations: 43.97 kB / 0.6034 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.9231, allocations: 0.8939 MB / 0.6043 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.9231, allocations: 0 / 0.6043 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00458/0.9277, allocations: 2.437 MB / 0.6067 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007584/0.9285, allocations: 335.7 kB / 0.607 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.9287, allocations: 35.92 kB / 0.607 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009911/0.9297, allocations: 83.78 kB / 0.6071 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.9298, allocations: 76.83 kB / 0.6072 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.93, allocations: 59.97 kB / 0.6072 GB, free: 10.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007577/0.9307, allocations: 0.5693 MB / 0.6078 GB, free: 10.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9307, allocations: 3.938 kB / 0.6078 GB, free: 10.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003342/0.9341, allocations: 1.163 MB / 0.6089 GB, free: 8.945 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002855/0.937, allocations: 1.147 MB / 0.61 GB, free: 7.863 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004965/0.9419, allocations: 2.636 MB / 0.6126 GB, free: 5.188 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.942, allocations: 4.438 kB / 0.6126 GB, free: 5.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.9434, allocations: 0.7361 MB / 0.6133 GB, free: 4.445 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/0.9466, allocations: 0.5417 MB / 0.6139 GB, free: 3.906 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005582/0.9522, allocations: 3.021 MB / 0.6168 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.953, allocations: 1.12 MB / 0.6179 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002344/0.9553, allocations: 0.6057 MB / 0.6185 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.9557, allocations: 119.4 kB / 0.6186 GB, free: 14.96 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.9557, allocations: 0 / 0.6186 GB, free: 14.96 MB / 494.1 MB Notification: Performance of Templates: time 0.2321/1.188, allocations: 40.28 MB / 0.6579 GB, free: 209.7 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1)