Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json 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) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001007/0.001007, allocations: 182.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.764/1.764, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001548/0.001548, allocations: 124.7 kB / 253.5 MB, free: 9.562 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/2.997e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07733/0.07737, allocations: 44.49 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.527/9.604, allocations: 3.666 GB / 4.007 GB, free: 49.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/9.605, allocations: 78.28 kB / 4.007 GB, free: 49.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.7/12.3, allocations: 0.5498 GB / 4.557 GB, free: 34.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.312e-06/12.3, allocations: 3.5 kB / 4.557 GB, free: 34.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.084e-05/12.31, allocations: 30.38 kB / 4.557 GB, free: 34.58 MB / 426.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.01416/12.32, allocations: 2.982 MB / 4.56 GB, free: 33.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/12.32, allocations: 9.625 kB / 4.56 GB, free: 33.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007998/12.32, allocations: 131.1 kB / 4.56 GB, free: 33.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/12.32, allocations: 0.7334 MB / 4.561 GB, free: 33.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/12.32, allocations: 129.1 kB / 4.561 GB, free: 33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/12.32, allocations: 89.05 kB / 4.561 GB, free: 33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/12.32, allocations: 1.419 MB / 4.562 GB, free: 32.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/12.32, allocations: 8.188 kB / 4.562 GB, free: 32.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/12.32, allocations: 44.09 kB / 4.562 GB, free: 32.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.57e-05/12.32, allocations: 65.55 kB / 4.562 GB, free: 32.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/12.33, allocations: 1.415 MB / 4.564 GB, free: 32.77 MB / 426.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.007993/12.33, allocations: 6.043 MB / 4.57 GB, free: 29.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/12.34, allocations: 0.8746 MB / 4.57 GB, free: 29.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/12.34, allocations: 490.5 kB / 4.571 GB, free: 29.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/12.34, allocations: 1.752 MB / 4.573 GB, free: 27.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/12.34, allocations: 43.19 kB / 4.573 GB, free: 27.83 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006309/12.34, allocations: 101.4 kB / 4.573 GB, free: 27.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 6.552e-06/12.34, allocations: 7.406 kB / 4.573 GB, free: 27.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=94): time 0.01443/12.35, allocations: 4.296 MB / 4.577 GB, free: 27.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/12.35, allocations: 114.4 kB / 4.577 GB, free: 27.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/12.35, allocations: 0.6516 MB / 4.578 GB, free: 27.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/12.35, allocations: 49.11 kB / 4.578 GB, free: 27.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/12.35, allocations: 468.3 kB / 4.578 GB, free: 26.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/12.36, allocations: 333.1 kB / 4.578 GB, free: 26.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/12.36, allocations: 29.94 kB / 4.579 GB, free: 26.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/12.36, allocations: 406.5 kB / 4.579 GB, free: 26.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/12.36, allocations: 0.5328 MB / 4.579 GB, free: 26.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/12.36, allocations: 0.9316 MB / 4.58 GB, free: 25.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/12.36, allocations: 0.7355 MB / 4.581 GB, free: 25.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/12.36, allocations: 3.812 kB / 4.581 GB, free: 25.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002838/12.36, allocations: 1.776 MB / 4.583 GB, free: 25.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001091/12.36, allocations: 4.754 MB / 4.587 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/12.36, allocations: 16.62 kB / 4.587 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/12.36, allocations: 247.2 kB / 4.588 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/12.36, allocations: 287.3 kB / 4.588 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008237/12.37, allocations: 0.8196 MB / 4.589 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/12.37, allocations: 111.9 kB / 4.589 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/12.37, allocations: 81.25 kB / 4.589 GB, free: 20.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/12.37, allocations: 3.938 kB / 4.589 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002628/12.37, allocations: 1.666 MB / 4.591 GB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/12.37, allocations: 13.59 kB / 4.591 GB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009067/12.37, allocations: 253.1 kB / 4.591 GB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/12.37, allocations: 282.9 kB / 4.591 GB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007793/12.37, allocations: 0.8197 MB / 4.592 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/12.37, allocations: 107.4 kB / 4.592 GB, free: 19.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/12.37, allocations: 85.02 kB / 4.592 GB, free: 19.42 MB / 426.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.0004953/12.37, allocations: 191.8 kB / 4.592 GB, free: 19.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/12.37, allocations: 101 kB / 4.592 GB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/12.38, allocations: 1.737 MB / 4.594 GB, free: 19.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/12.38, allocations: 12.75 kB / 4.594 GB, free: 19.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/12.38, allocations: 0 / 4.594 GB, free: 19.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/12.38, allocations: 3.797 kB / 4.594 GB, free: 19.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/12.38, allocations: 2.771 MB / 4.597 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/12.38, allocations: 3.688 kB / 4.597 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/12.38, allocations: 184.6 kB / 4.597 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/12.38, allocations: 307.2 kB / 4.597 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.366e-05/12.38, allocations: 41.27 kB / 4.597 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007502/12.39, allocations: 0.7835 MB / 4.598 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/12.39, allocations: 4.844 kB / 4.598 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/12.39, allocations: 2.176 MB / 4.6 GB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009594/12.39, allocations: 321.5 kB / 4.6 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/12.39, allocations: 28.45 kB / 4.601 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008868/12.39, allocations: 78.55 kB / 4.601 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/12.39, allocations: 68.34 kB / 4.601 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/12.39, allocations: 67.3 kB / 4.601 GB, free: 17.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008623/12.39, allocations: 0.5096 MB / 4.601 GB, free: 17.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/12.39, allocations: 0 / 4.601 GB, free: 17.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006321/12.4, allocations: 1.339 MB / 4.603 GB, free: 17.33 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 94 * 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.006002/12.4, allocations: 2.021 MB / 4.604 GB, free: 16.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004638/12.41, allocations: 2.456 MB / 4.607 GB, free: 16.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/12.41, allocations: 3.844 kB / 4.607 GB, free: 16.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/12.41, allocations: 0.6485 MB / 4.608 GB, free: 16.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/12.41, allocations: 460.6 kB / 4.608 GB, free: 16.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/12.42, allocations: 1.98 MB / 4.61 GB, free: 16.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/12.42, allocations: 1.142 MB / 4.611 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002588/12.42, allocations: 0.6571 MB / 4.612 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/12.42, allocations: 111.3 kB / 4.612 GB, free: 15.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/12.42, allocations: 0.8125 kB / 4.612 GB, free: 15.5 MB / 426.7 MB Notification: Performance of Templates: time 0.07545/12.5, allocations: 51.54 MB / 4.662 GB, free: 11.42 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1)