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.01372/0.01372, allocations: 166 kB / 15.11 MB, free: 5.973 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.409/1.409, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001676/0.001675, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003392, allocations: 12 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.249, allocations: 38.76 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.18/9.43, allocations: 3.66 GB / 3.966 GB, free: 54.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/9.43, allocations: 88.08 kB / 3.966 GB, free: 54.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324/11.75, allocations: 0.5472 GB / 4.513 GB, free: 28.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/11.75, allocations: 3.625 kB / 4.513 GB, free: 28.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001177/11.75, allocations: 29.14 kB / 4.513 GB, free: 28.72 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.01414/11.77, allocations: 3.081 MB / 4.516 GB, free: 27.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/11.77, allocations: 13.05 kB / 4.516 GB, free: 27.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/11.77, allocations: 127.3 kB / 4.516 GB, free: 26.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/11.77, allocations: 0.7371 MB / 4.517 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/11.77, allocations: 134.5 kB / 4.517 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/11.77, allocations: 89.2 kB / 4.517 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/11.78, allocations: 1.438 MB / 4.518 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/11.78, allocations: 11.12 kB / 4.518 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/11.78, allocations: 36.55 kB / 4.518 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.516e-05/11.78, allocations: 67.16 kB / 4.519 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/11.78, allocations: 1.449 MB / 4.52 GB, free: 26.35 MB / 378.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.008812/11.79, allocations: 5.78 MB / 4.526 GB, free: 23.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/11.79, allocations: 0.8973 MB / 4.526 GB, free: 23.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/11.79, allocations: 1.749 MB / 4.528 GB, free: 21.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/11.79, allocations: 46.94 kB / 4.528 GB, free: 21.67 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006513/11.79, allocations: 111 kB / 4.528 GB, free: 21.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 4.87e-06/11.79, allocations: 2.531 kB / 4.528 GB, free: 21.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.01717/11.81, allocations: 5.004 MB / 4.533 GB, free: 21.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/11.81, allocations: 122.1 kB / 4.533 GB, free: 20.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/11.81, allocations: 0.6526 MB / 4.534 GB, free: 20.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/11.81, allocations: 46.7 kB / 4.534 GB, free: 20.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/11.81, allocations: 469.7 kB / 4.534 GB, free: 20.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/11.81, allocations: 331.2 kB / 4.535 GB, free: 20.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/11.81, allocations: 27.69 kB / 4.535 GB, free: 20.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/11.81, allocations: 405.2 kB / 4.535 GB, free: 19.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/11.81, allocations: 0.584 MB / 4.536 GB, free: 19.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/11.81, allocations: 0.9753 MB / 4.537 GB, free: 19.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/11.81, allocations: 0.7786 MB / 4.537 GB, free: 19.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/11.81, allocations: 2.719 kB / 4.537 GB, free: 19.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003739/11.82, allocations: 1.911 MB / 4.539 GB, free: 19.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001404/11.82, allocations: 4.766 MB / 4.544 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/11.82, allocations: 10.34 kB / 4.544 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/11.82, allocations: 329.3 kB / 4.544 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/11.82, allocations: 285.3 kB / 4.545 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/11.82, allocations: 0.9319 MB / 4.545 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/11.83, allocations: 118 kB / 4.546 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/11.83, allocations: 77.78 kB / 4.546 GB, free: 13.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/11.83, allocations: 3.781 kB / 4.546 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003274/11.83, allocations: 1.809 MB / 4.547 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/11.83, allocations: 13.67 kB / 4.547 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/11.83, allocations: 339.7 kB / 4.548 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/11.83, allocations: 286.4 kB / 4.548 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/11.83, allocations: 0.9231 MB / 4.549 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/11.83, allocations: 102.3 kB / 4.549 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/11.83, allocations: 84.19 kB / 4.549 GB, free: 12.67 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 () * 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.0009096/11.84, allocations: 430.5 kB / 4.55 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/11.84, allocations: 92.06 kB / 4.55 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/11.84, allocations: 1.877 MB / 4.551 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/11.84, allocations: 11.12 kB / 4.551 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/11.84, allocations: 0 / 4.551 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/11.84, allocations: 6.578 kB / 4.551 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/11.84, allocations: 2.9 MB / 4.554 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/11.84, allocations: 6.672 kB / 4.554 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/11.84, allocations: 180.7 kB / 4.554 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/11.85, allocations: 399.4 kB / 4.555 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-05/11.85, allocations: 37.42 kB / 4.555 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/11.85, allocations: 0.9004 MB / 4.556 GB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/11.85, allocations: 0 / 4.556 GB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003904/11.85, allocations: 2.347 MB / 4.558 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/11.85, allocations: 328.5 kB / 4.558 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/11.85, allocations: 26.02 kB / 4.558 GB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/11.85, allocations: 74.59 kB / 4.558 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/11.85, allocations: 74.39 kB / 4.559 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/11.85, allocations: 55.12 kB / 4.559 GB, free: 8.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008225/11.85, allocations: 0.5156 MB / 4.559 GB, free: 7.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/11.85, allocations: 0 / 4.559 GB, free: 7.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005429/11.86, allocations: 1.341 MB / 4.56 GB, free: 7.574 MB / 378.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.004981/11.87, allocations: 2.039 MB / 4.562 GB, free: 6.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004823/11.87, allocations: 2.578 MB / 4.565 GB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/11.87, allocations: 4 kB / 4.565 GB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/11.87, allocations: 0.7036 MB / 4.566 GB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/11.87, allocations: 449.5 kB / 4.566 GB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/11.88, allocations: 2.896 MB / 4.569 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/11.88, allocations: 1.143 MB / 4.57 GB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002454/11.88, allocations: 0.6065 MB / 4.571 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/11.88, allocations: 117.8 kB / 4.571 GB, free: 15.44 MB / 394.7 MB Notification: Performance of SimCode: time 2.264e-06/11.88, allocations: 0 / 4.571 GB, free: 15.44 MB / 394.7 MB Notification: Performance of Templates: time 0.3553/12.24, allocations: 47.46 MB / 4.617 GB, free: 41.71 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)