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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008253/0.0008257, allocations: 97.64 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.006811/0.006811, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.644/1.644, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0005062/0.0005062, allocations: 11.98 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2635, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5124/0.7759, allocations: 209.7 MB / 0.5241 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01938/0.7954, allocations: 13.51 MB / 0.5373 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.7969, allocations: 28.84 kB / 0.5373 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.7985, allocations: 406.6 kB / 0.5377 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.809, allocations: 3.175 MB / 0.5408 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007517/0.8166, allocations: 2.463 MB / 0.5432 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004585/0.8212, allocations: 3.775 MB / 0.5469 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.8226, allocations: 0.6529 MB / 0.5476 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008425/0.831, allocations: 2.792 MB / 0.5503 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.8332, allocations: 1.085 MB / 0.5514 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.8334, allocations: 60 kB / 0.5514 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01319/0.8466, allocations: 6.873 MB / 0.5581 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008712/0.8475, allocations: 495.5 kB / 0.5586 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009045/0.8484, allocations: 0.599 MB / 0.5592 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.8611, allocations: 4.967 MB / 0.564 GB, free: 8.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.8611, allocations: 4 kB / 0.564 GB, free: 8.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.8611, allocations: 0 / 0.564 GB, free: 8.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.8612, allocations: 0 / 0.564 GB, free: 8.688 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.004612/0.8658, allocations: 1.896 MB / 0.5659 GB, free: 6.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.8658, allocations: 12.03 kB / 0.5659 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.8663, allocations: 130.6 kB / 0.566 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.8673, allocations: 0.6856 MB / 0.5667 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.8675, allocations: 131.9 kB / 0.5668 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.8677, allocations: 91.66 kB / 0.5669 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.8698, allocations: 1.464 MB / 0.5683 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.8699, allocations: 3.938 kB / 0.5683 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.87, allocations: 46.73 kB / 0.5684 GB, free: 4.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.046e-05/0.8701, allocations: 73.95 kB / 0.5685 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.8723, allocations: 1.471 MB / 0.5699 GB, free: 2.543 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.008044/0.8804, allocations: 6.349 MB / 0.5761 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.8822, allocations: 1.006 MB / 0.5771 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008051/0.8831, allocations: 0.5191 MB / 0.5776 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002111/0.8852, allocations: 2.061 MB / 0.5796 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/0.8852, allocations: 55.5 kB / 0.5796 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006613/0.8859, allocations: 98.95 kB / 0.5797 GB, free: 7.652 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.937e-06/0.8859, allocations: 0 / 0.5797 GB, free: 7.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.0162/0.9021, allocations: 4.962 MB / 0.5846 GB, free: 2.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.9022, allocations: 115.8 kB / 0.5847 GB, free: 2.508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.9033, allocations: 0.7699 MB / 0.5854 GB, free: 1.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.9034, allocations: 45.7 kB / 0.5855 GB, free: 1.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.9037, allocations: 455.8 kB / 0.5859 GB, free: 1.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.904, allocations: 343.6 kB / 0.5863 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.9042, allocations: 109.7 kB / 0.5864 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.9044, allocations: 398.7 kB / 0.5867 GB, free: 396 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.9056, allocations: 0.6194 MB / 0.5873 GB, free: 15.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.907, allocations: 0.9693 MB / 0.5883 GB, free: 14.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/0.9096, allocations: 1.674 MB / 0.5899 GB, free: 12.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.9096, allocations: 0 / 0.5899 GB, free: 12.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003955/0.9136, allocations: 1.961 MB / 0.5918 GB, free: 10.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003601/0.914, allocations: 455.6 kB / 0.5923 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.914, allocations: 12 kB / 0.5923 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.9157, allocations: 327.7 kB / 0.5926 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.9167, allocations: 279.5 kB / 0.5929 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.9183, allocations: 0.9231 MB / 0.5938 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.9195, allocations: 103.9 kB / 0.5939 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.9197, allocations: 79.98 kB / 0.5939 GB, free: 8.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.9197, allocations: 6.5 kB / 0.5939 GB, free: 8.496 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003685/0.9234, allocations: 1.842 MB / 0.5957 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.9235, allocations: 8 kB / 0.5958 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.9251, allocations: 337 kB / 0.5961 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.9263, allocations: 271.5 kB / 0.5963 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.928, allocations: 0.9261 MB / 0.5972 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.9293, allocations: 107.9 kB / 0.5973 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.9294, allocations: 83.91 kB / 0.5974 GB, free: 4.902 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.0007988/0.9302, allocations: 412.7 kB / 0.5978 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.9304, allocations: 98.88 kB / 0.5979 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/0.9342, allocations: 1.94 MB / 0.5998 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.9343, allocations: 15.94 kB / 0.5998 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9343, allocations: 0 / 0.5998 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.9343, allocations: 3.984 kB / 0.5998 GB, free: 2.398 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/0.9395, allocations: 3.039 MB / 0.6028 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.9396, allocations: 8.031 kB / 0.6028 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/0.9404, allocations: 187.7 kB / 0.603 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/0.9424, allocations: 395.2 kB / 0.6034 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.89e-05/0.9425, allocations: 39.97 kB / 0.6034 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.9439, allocations: 0.8958 MB / 0.6043 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/0.944, allocations: 0 / 0.6043 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.9485, allocations: 2.436 MB / 0.6066 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007057/0.9492, allocations: 339.7 kB / 0.607 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.9494, allocations: 28 kB / 0.607 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009466/0.9503, allocations: 91.77 kB / 0.6071 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.9505, allocations: 72.84 kB / 0.6072 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.9507, allocations: 67.89 kB / 0.6072 GB, free: 10.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007761/0.9514, allocations: 0.5693 MB / 0.6078 GB, free: 10.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.9515, allocations: 0 / 0.6078 GB, free: 10.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003572/0.955, allocations: 1.16 MB / 0.6089 GB, free: 8.961 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.003149/0.9582, allocations: 1.159 MB / 0.61 GB, free: 7.871 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005128/0.9633, allocations: 2.644 MB / 0.6126 GB, free: 5.188 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.9634, allocations: 4.438 kB / 0.6126 GB, free: 5.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.9648, allocations: 0.7441 MB / 0.6134 GB, free: 4.438 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/0.9679, allocations: 0.524 MB / 0.6139 GB, free: 3.914 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005476/0.9734, allocations: 3.014 MB / 0.6168 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.9741, allocations: 1.123 MB / 0.6179 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002255/0.9763, allocations: 0.6096 MB / 0.6185 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/0.9767, allocations: 119.4 kB / 0.6186 GB, free: 14.97 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.9768, allocations: 4 kB / 0.6186 GB, free: 14.96 MB / 494.1 MB Notification: Performance of Templates: time 0.2543/1.231, allocations: 40.27 MB / 0.6579 GB, free: 209.7 MB / 494.1 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)