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.001265/0.001265, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.247/1.247, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001643/0.001643, allocations: 119.7 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004242, allocations: 12 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08168/0.08213, allocations: 44.51 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.141/7.223, allocations: 3.666 GB / 4.012 GB, free: 27.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/7.223, allocations: 85.09 kB / 4.013 GB, free: 27.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.14/9.363, allocations: 0.5508 GB / 4.563 GB, free: 35.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/9.363, allocations: 0 / 4.563 GB, free: 35.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.281e-05/9.363, allocations: 26.41 kB / 4.563 GB, free: 35.2 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.01199/9.375, allocations: 3.088 MB / 4.566 GB, free: 33.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/9.375, allocations: 8.344 kB / 4.566 GB, free: 33.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000802/9.376, allocations: 132 kB / 4.567 GB, free: 33.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/9.378, allocations: 0.7275 MB / 4.567 GB, free: 33.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/9.378, allocations: 136.7 kB / 4.567 GB, free: 33.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/9.378, allocations: 91.97 kB / 4.567 GB, free: 33.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/9.38, allocations: 1.433 MB / 4.569 GB, free: 33.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/9.381, allocations: 10.5 kB / 4.569 GB, free: 33.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/9.381, allocations: 42.7 kB / 4.569 GB, free: 33.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.961e-05/9.381, allocations: 60.23 kB / 4.569 GB, free: 33.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/9.383, allocations: 1.449 MB / 4.57 GB, free: 33.13 MB / 426.7 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.008149/9.391, allocations: 6.031 MB / 4.576 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/9.393, allocations: 0.8916 MB / 4.577 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/9.394, allocations: 1.754 MB / 4.579 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.007e-05/9.394, allocations: 45.62 kB / 4.579 GB, free: 28.17 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007313/9.395, allocations: 107 kB / 4.579 GB, free: 28.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 3.507e-06/9.395, allocations: 0 / 4.579 GB, free: 28.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=94): time 0.01574/9.411, allocations: 5.012 MB / 4.584 GB, free: 27.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/9.411, allocations: 116.3 kB / 4.584 GB, free: 27.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008544/9.412, allocations: 0.6506 MB / 4.585 GB, free: 27.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/9.412, allocations: 50.48 kB / 4.585 GB, free: 27.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/9.412, allocations: 467.6 kB / 4.585 GB, free: 27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/9.412, allocations: 344.3 kB / 4.585 GB, free: 26.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/9.412, allocations: 27.09 kB / 4.585 GB, free: 26.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/9.413, allocations: 404.2 kB / 4.586 GB, free: 26.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009635/9.414, allocations: 0.5773 MB / 4.586 GB, free: 26.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/9.415, allocations: 0.9829 MB / 4.587 GB, free: 26.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/9.416, allocations: 0.7722 MB / 4.588 GB, free: 25.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/9.416, allocations: 4.281 kB / 4.588 GB, free: 25.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003471/9.419, allocations: 1.908 MB / 4.59 GB, free: 25.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001096/9.421, allocations: 4.76 MB / 4.595 GB, free: 20.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/9.421, allocations: 14.88 kB / 4.595 GB, free: 20.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/9.422, allocations: 329.7 kB / 4.595 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/9.423, allocations: 288.9 kB / 4.595 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/9.425, allocations: 0.9268 MB / 4.596 GB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/9.426, allocations: 122.6 kB / 4.596 GB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/9.426, allocations: 82.39 kB / 4.596 GB, free: 20.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/9.426, allocations: 8.062 kB / 4.596 GB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003027/9.429, allocations: 1.8 MB / 4.598 GB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/9.429, allocations: 15.5 kB / 4.598 GB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/9.431, allocations: 329.9 kB / 4.598 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/9.432, allocations: 286.4 kB / 4.599 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/9.433, allocations: 0.9322 MB / 4.6 GB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/9.435, allocations: 110.3 kB / 4.6 GB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/9.435, allocations: 81.58 kB / 4.6 GB, free: 19.66 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 () * Number of clocked 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.000938/9.436, allocations: 425.5 kB / 4.6 GB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/9.436, allocations: 93.44 kB / 4.6 GB, free: 19.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/9.44, allocations: 1.877 MB / 4.602 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/9.44, allocations: 9.781 kB / 4.602 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/9.44, allocations: 0 / 4.602 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/9.44, allocations: 10.09 kB / 4.602 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004937/9.445, allocations: 2.9 MB / 4.605 GB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/9.445, allocations: 3.906 kB / 4.605 GB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/9.445, allocations: 183.2 kB / 4.605 GB, free: 18.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/9.447, allocations: 400.3 kB / 4.606 GB, free: 18.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.193e-05/9.447, allocations: 38.98 kB / 4.606 GB, free: 18.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/9.448, allocations: 0.8995 MB / 4.606 GB, free: 18.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/9.448, allocations: 0 / 4.606 GB, free: 18.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/9.451, allocations: 2.346 MB / 4.609 GB, free: 17.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/9.452, allocations: 331 kB / 4.609 GB, free: 17.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/9.452, allocations: 24.12 kB / 4.609 GB, free: 17.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008161/9.453, allocations: 87.31 kB / 4.609 GB, free: 17.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/9.453, allocations: 69.67 kB / 4.609 GB, free: 17.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/9.453, allocations: 58.44 kB / 4.609 GB, free: 17.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006018/9.454, allocations: 0.5178 MB / 4.61 GB, free: 17.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/9.454, allocations: 0 / 4.61 GB, free: 17.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004925/9.459, allocations: 1.339 MB / 4.611 GB, free: 17.45 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 () * Number of clocked 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.005079/9.464, allocations: 2.02 MB / 4.613 GB, free: 16.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004337/9.468, allocations: 2.584 MB / 4.616 GB, free: 16.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/9.468, allocations: 0 / 4.616 GB, free: 16.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/9.47, allocations: 0.7016 MB / 4.616 GB, free: 16.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/9.472, allocations: 454.1 kB / 4.617 GB, free: 16.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/9.476, allocations: 2.902 MB / 4.62 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/9.477, allocations: 1.138 MB / 4.621 GB, free: 30.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001983/9.479, allocations: 0.596 MB / 4.621 GB, free: 30.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/9.479, allocations: 127.2 kB / 4.621 GB, free: 30.81 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/9.479, allocations: 2.938 kB / 4.621 GB, free: 30.81 MB / 442.7 MB Notification: Performance of Templates: time 0.05718/9.537, allocations: 47.48 MB / 4.668 GB, free: 17.02 MB / 442.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)