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.0009616/0.0009617, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.285/1.285, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.00153/0.00153, allocations: 107.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.615e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07859/0.07863, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.323/8.401, allocations: 3.66 GB / 3.96 GB, free: 121.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/8.402, allocations: 85.22 kB / 3.96 GB, free: 121.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.093/10.49, allocations: 0.5462 GB / 4.507 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/10.49, allocations: 4 kB / 4.507 GB, free: 20.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.663e-05/10.5, allocations: 27.94 kB / 4.507 GB, free: 20.18 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.0114/10.51, allocations: 2.982 MB / 4.51 GB, free: 17.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/10.51, allocations: 15.97 kB / 4.51 GB, free: 17.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000636/10.51, allocations: 130.8 kB / 4.51 GB, free: 16.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/10.51, allocations: 0.7318 MB / 4.51 GB, free: 16.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/10.51, allocations: 140.9 kB / 4.511 GB, free: 16.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/10.51, allocations: 91.89 kB / 4.511 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/10.51, allocations: 1.419 MB / 4.512 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/10.51, allocations: 7.938 kB / 4.512 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/10.51, allocations: 39.98 kB / 4.512 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.799e-05/10.51, allocations: 61.97 kB / 4.512 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/10.51, allocations: 1.417 MB / 4.514 GB, free: 12.97 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.007556/10.52, allocations: 5.778 MB / 4.519 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/10.52, allocations: 0.8956 MB / 4.52 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/10.52, allocations: 487.5 kB / 4.521 GB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/10.52, allocations: 1.743 MB / 4.522 GB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/10.52, allocations: 47.33 kB / 4.522 GB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005669/10.52, allocations: 114.9 kB / 4.522 GB, free: 3.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 2.174e-06/10.52, allocations: 0 / 4.522 GB, free: 3.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.01371/10.54, allocations: 4.295 MB / 4.527 GB, free: 14.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/10.54, allocations: 123.5 kB / 4.527 GB, free: 14.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/10.54, allocations: 0.6519 MB / 4.527 GB, free: 14.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/10.54, allocations: 41.7 kB / 4.527 GB, free: 14.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/10.54, allocations: 470.8 kB / 4.528 GB, free: 13.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/10.54, allocations: 335.2 kB / 4.528 GB, free: 13.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.087e-05/10.54, allocations: 24 kB / 4.528 GB, free: 13.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/10.54, allocations: 402.7 kB / 4.529 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009395/10.54, allocations: 0.5336 MB / 4.529 GB, free: 12.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/10.54, allocations: 0.9259 MB / 4.53 GB, free: 11.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/10.54, allocations: 0.7381 MB / 4.531 GB, free: 10.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/10.54, allocations: 4 kB / 4.531 GB, free: 10.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003194/10.55, allocations: 1.777 MB / 4.532 GB, free: 8.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002867/10.55, allocations: 4.754 MB / 4.537 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/10.55, allocations: 12 kB / 4.537 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/10.55, allocations: 252.6 kB / 4.537 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/10.55, allocations: 279.6 kB / 4.538 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/10.55, allocations: 0.8256 MB / 4.538 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/10.56, allocations: 111.8 kB / 4.539 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/10.56, allocations: 79.97 kB / 4.539 GB, free: 1.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/10.56, allocations: 4 kB / 4.539 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003078/10.56, allocations: 1.668 MB / 4.54 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/10.56, allocations: 12 kB / 4.54 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009717/10.56, allocations: 244.8 kB / 4.54 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3345/10.89, allocations: 277.8 kB / 4.541 GB, free: 41.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009746/10.9, allocations: 0.8179 MB / 4.542 GB, free: 40.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/10.9, allocations: 111.4 kB / 4.542 GB, free: 40.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/10.9, allocations: 84.05 kB / 4.542 GB, free: 40.91 MB / 394.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.0005394/10.9, allocations: 186 kB / 4.542 GB, free: 40.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/10.9, allocations: 95.14 kB / 4.542 GB, free: 40.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/10.9, allocations: 1.746 MB / 4.544 GB, free: 40.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/10.9, allocations: 10.94 kB / 4.544 GB, free: 40.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/10.9, allocations: 0 / 4.544 GB, free: 40.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/10.9, allocations: 6.031 kB / 4.544 GB, free: 40.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/10.91, allocations: 2.767 MB / 4.546 GB, free: 40.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/10.91, allocations: 6.375 kB / 4.546 GB, free: 40.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/10.91, allocations: 181.7 kB / 4.547 GB, free: 40.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/10.91, allocations: 316.8 kB / 4.547 GB, free: 40.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.877e-05/10.91, allocations: 49.8 kB / 4.547 GB, free: 40.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007839/10.91, allocations: 0.78 MB / 4.548 GB, free: 39.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/10.91, allocations: 1.688 kB / 4.548 GB, free: 39.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/10.91, allocations: 2.176 MB / 4.55 GB, free: 39.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007656/10.91, allocations: 321.3 kB / 4.55 GB, free: 39.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/10.91, allocations: 29.73 kB / 4.55 GB, free: 39.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008593/10.91, allocations: 83 kB / 4.55 GB, free: 39.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/10.92, allocations: 71.38 kB / 4.55 GB, free: 39.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/10.92, allocations: 54.73 kB / 4.55 GB, free: 39.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008678/10.92, allocations: 0.5111 MB / 4.551 GB, free: 39.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/10.92, allocations: 0.75 kB / 4.551 GB, free: 39.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006599/10.92, allocations: 1.338 MB / 4.552 GB, free: 39.26 MB / 394.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.006284/10.93, allocations: 2.012 MB / 4.554 GB, free: 39.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004494/10.93, allocations: 2.453 MB / 4.557 GB, free: 38.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/10.93, allocations: 0 / 4.557 GB, free: 38.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/10.93, allocations: 0.6595 MB / 4.557 GB, free: 38.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/10.94, allocations: 456 kB / 4.558 GB, free: 38.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/10.94, allocations: 1.992 MB / 4.56 GB, free: 38.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/10.94, allocations: 1.138 MB / 4.561 GB, free: 37.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002254/10.94, allocations: 0.666 MB / 4.561 GB, free: 37.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/10.95, allocations: 117 kB / 4.561 GB, free: 37.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.664e-06/10.95, allocations: 0 / 4.561 GB, free: 37.74 MB / 394.7 MB Notification: Performance of Templates: time 0.07052/11.02, allocations: 51.52 MB / 4.612 GB, free: 35.37 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)