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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 171.3 kB / 7.638 MB, free: 1.418 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.7 MB, free: 15.66 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.001542/0.001542, allocations: 103.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.17e-05/1.17e-05, allocations: 0 / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05845/0.05848, allocations: 38.77 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.405/8.464, allocations: 3.659 GB / 3.953 GB, free: 82.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/8.464, allocations: 80.58 kB / 3.953 GB, free: 82.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.408/10.87, allocations: 0.5411 GB / 4.494 GB, free: 30.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/10.87, allocations: 0 / 4.494 GB, free: 30.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002042/10.87, allocations: 25.75 kB / 4.494 GB, free: 30.12 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.01544/10.89, allocations: 2.983 MB / 4.497 GB, free: 28.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/10.89, allocations: 9.062 kB / 4.497 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/10.89, allocations: 125.6 kB / 4.497 GB, free: 28.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/10.89, allocations: 0.739 MB / 4.498 GB, free: 28.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/10.89, allocations: 98.92 kB / 4.498 GB, free: 28.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004901/10.89, allocations: 58.72 kB / 4.498 GB, free: 28.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002982/10.9, allocations: 1.287 MB / 4.5 GB, free: 28.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/10.9, allocations: 1.289 MB / 4.501 GB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/10.9, allocations: 0.6875 kB / 4.501 GB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002684/10.9, allocations: 5.875 kB / 4.501 GB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/10.9, allocations: 72.61 kB / 4.501 GB, free: 28.01 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01026/10.91, allocations: 6.09 MB / 4.507 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/10.91, allocations: 0.7804 MB / 4.508 GB, free: 24.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/10.91, allocations: 434.2 kB / 4.508 GB, free: 24.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/10.91, allocations: 1.24 MB / 4.509 GB, free: 23.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/10.91, allocations: 45.19 kB / 4.509 GB, free: 23.4 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006052/10.91, allocations: 82.14 kB / 4.509 GB, free: 23.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=76): time 3.366e-06/10.91, allocations: 0 / 4.509 GB, free: 23.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.01471/10.93, allocations: 4.132 MB / 4.513 GB, free: 22.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/10.93, allocations: 113.7 kB / 4.514 GB, free: 22.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007718/10.93, allocations: 0.5636 MB / 4.514 GB, free: 22.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.566e-05/10.93, allocations: 27.8 kB / 4.514 GB, free: 22.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/10.93, allocations: 493.3 kB / 4.515 GB, free: 22.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/10.93, allocations: 302.8 kB / 4.515 GB, free: 22.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/10.93, allocations: 0 / 4.515 GB, free: 22.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/10.93, allocations: 392.7 kB / 4.515 GB, free: 21.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007987/10.93, allocations: 0.5205 MB / 4.516 GB, free: 21.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/10.93, allocations: 0.8936 MB / 4.517 GB, free: 21.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004841/10.94, allocations: 1.335 MB / 4.518 GB, free: 21.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/10.94, allocations: 6.531 kB / 4.518 GB, free: 21.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.006807/10.94, allocations: 2.278 MB / 4.52 GB, free: 21.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00158/10.95, allocations: 4.755 MB / 4.525 GB, free: 16.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/10.95, allocations: 17.45 kB / 4.525 GB, free: 16.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009617/10.95, allocations: 242.7 kB / 4.525 GB, free: 16.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/10.95, allocations: 284.8 kB / 4.525 GB, free: 16.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008036/10.95, allocations: 0.8393 MB / 4.526 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/10.95, allocations: 96.75 kB / 4.526 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/10.95, allocations: 81.23 kB / 4.526 GB, free: 15.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/10.95, allocations: 6.141 kB / 4.526 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005816/10.96, allocations: 2.126 MB / 4.528 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/10.96, allocations: 9.062 kB / 4.528 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009186/10.96, allocations: 246.6 kB / 4.529 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/10.96, allocations: 287 kB / 4.529 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008214/10.96, allocations: 0.8463 MB / 4.53 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/10.96, allocations: 82.5 kB / 4.53 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/10.96, allocations: 84.17 kB / 4.53 GB, free: 15.13 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.0005256/10.96, allocations: 146.8 kB / 4.53 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/10.96, allocations: 91.11 kB / 4.53 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/10.96, allocations: 1.693 MB / 4.532 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/10.96, allocations: 11.5 kB / 4.532 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/10.96, allocations: 0 / 4.532 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/10.96, allocations: 6.656 kB / 4.532 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00557/10.97, allocations: 3.248 MB / 4.535 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/10.97, allocations: 8.844 kB / 4.535 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/10.97, allocations: 174.1 kB / 4.535 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/10.97, allocations: 308.7 kB / 4.535 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/10.97, allocations: 28.14 kB / 4.535 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007555/10.97, allocations: 0.8108 MB / 4.536 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/10.97, allocations: 7.062 kB / 4.536 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/10.98, allocations: 2.333 MB / 4.539 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/10.98, allocations: 307.9 kB / 4.539 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/10.98, allocations: 13.64 kB / 4.539 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/10.98, allocations: 65.64 kB / 4.539 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/10.98, allocations: 70.36 kB / 4.539 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/10.98, allocations: 56.61 kB / 4.539 GB, free: 12.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006125/10.98, allocations: 425.5 kB / 4.539 GB, free: 12.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/10.98, allocations: 3.938 kB / 4.539 GB, free: 12.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005731/10.99, allocations: 1.25 MB / 4.541 GB, free: 12.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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.005428/10.99, allocations: 2.19 MB / 4.543 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003794/11, allocations: 2.323 MB / 4.545 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/11, allocations: 3.844 kB / 4.545 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009574/11, allocations: 0.6027 MB / 4.546 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/11, allocations: 385.8 kB / 4.546 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/11, allocations: 1.943 MB / 4.548 GB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007739/11, allocations: 1.142 MB / 4.549 GB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002457/11.01, allocations: 0.5968 MB / 4.55 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/11.01, allocations: 107 kB / 4.55 GB, free: 10.39 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/11.01, allocations: 3.75 kB / 4.55 GB, free: 10.39 MB / 378.7 MB Notification: Performance of Templates: time 0.06545/11.07, allocations: 38.71 MB / 4.588 GB, free: 7.93 MB / 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)