Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 63.91 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2754, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5364/0.8118, allocations: 212.7 MB / 0.5254 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.8282, allocations: 13.2 MB / 0.5383 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.8297, allocations: 23.88 kB / 0.5384 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.8313, allocations: 468 kB / 0.5388 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.8449, allocations: 3.618 MB / 0.5423 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009206/0.8541, allocations: 2.857 MB / 0.5451 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003923/0.8581, allocations: 2.617 MB / 0.5477 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.8598, allocations: 0.7944 MB / 0.5485 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009576/0.8694, allocations: 3.102 MB / 0.5515 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.8718, allocations: 1.068 MB / 0.5525 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006253/0.8725, allocations: 123.9 kB / 0.5527 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01467/0.8871, allocations: 6.505 MB / 0.559 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.8883, allocations: 0.5374 MB / 0.5595 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.8901, allocations: 0.6406 MB / 0.5602 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.9054, allocations: 4.894 MB / 0.5649 GB, free: 5.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.9054, allocations: 0 / 0.5649 GB, free: 5.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.9055, allocations: 0 / 0.5649 GB, free: 5.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.891e-05/0.9055, allocations: 0 / 0.5649 GB, free: 5.691 MB / 430.1 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.006616/0.9122, allocations: 2.133 MB / 0.567 GB, free: 3.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.9122, allocations: 8.031 kB / 0.567 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007165/0.9129, allocations: 134.7 kB / 0.5672 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.9144, allocations: 0.6796 MB / 0.5678 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.9146, allocations: 133.8 kB / 0.5679 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.9148, allocations: 90.03 kB / 0.568 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.9176, allocations: 1.463 MB / 0.5695 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.9177, allocations: 3.938 kB / 0.5695 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.9178, allocations: 42.34 kB / 0.5695 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.918, allocations: 69.95 kB / 0.5696 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.9205, allocations: 1.471 MB / 0.571 GB, free: 15.33 MB / 446.1 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.009308/0.9299, allocations: 6.369 MB / 0.5772 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.9318, allocations: 0.976 MB / 0.5782 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008135/0.9327, allocations: 0.5269 MB / 0.5787 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001787/0.9345, allocations: 2.064 MB / 0.5807 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.9345, allocations: 47.5 kB / 0.5808 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005149/0.9351, allocations: 106.9 kB / 0.5809 GB, free: 4.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 5.039e-06/0.9351, allocations: 0 / 0.5809 GB, free: 4.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01698/0.9521, allocations: 4.799 MB / 0.5855 GB, free: 15.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.9522, allocations: 119.8 kB / 0.5857 GB, free: 15.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.9533, allocations: 0.7699 MB / 0.5864 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000203/0.9535, allocations: 49.7 kB / 0.5865 GB, free: 14.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.9539, allocations: 452.3 kB / 0.5869 GB, free: 14.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.9542, allocations: 342.6 kB / 0.5872 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/0.9547, allocations: 250.7 kB / 0.5875 GB, free: 13.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.9549, allocations: 406.7 kB / 0.5878 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.9562, allocations: 0.6266 MB / 0.5885 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.9577, allocations: 0.9615 MB / 0.5894 GB, free: 11.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.9604, allocations: 1.662 MB / 0.591 GB, free: 9.633 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.9605, allocations: 4 kB / 0.591 GB, free: 9.629 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004002/0.9645, allocations: 1.932 MB / 0.5929 GB, free: 7.676 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.249e-05/0.9646, allocations: 67.98 kB / 0.593 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.9646, allocations: 12 kB / 0.593 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.9661, allocations: 304.6 kB / 0.5933 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.9672, allocations: 279.5 kB / 0.5935 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.9689, allocations: 0.9062 MB / 0.5944 GB, free: 6.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.97, allocations: 68.03 kB / 0.5945 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.9702, allocations: 75.91 kB / 0.5946 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0016/0.9718, allocations: 0.8498 MB / 0.5954 GB, free: 5.086 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001437/0.9733, allocations: 0.9459 MB / 0.5963 GB, free: 3.992 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002672/0.976, allocations: 1.638 MB / 0.5979 GB, free: 2.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.135e-05/0.976, allocations: 4 kB / 0.5979 GB, free: 2.199 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003986/0.98, allocations: 1.906 MB / 0.5998 GB, free: 272 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.9801, allocations: 67.41 kB / 0.5998 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.9801, allocations: 12 kB / 0.5999 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.9816, allocations: 300.8 kB / 0.6001 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.9826, allocations: 279.5 kB / 0.6004 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.9842, allocations: 0.9108 MB / 0.6013 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.9853, allocations: 63.95 kB / 0.6014 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.9855, allocations: 75.97 kB / 0.6014 GB, free: 14.54 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004366/0.9859, allocations: 264 kB / 0.6017 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.9862, allocations: 102.7 kB / 0.6018 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/0.9903, allocations: 1.925 MB / 0.6037 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.9903, allocations: 8 kB / 0.6037 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.9903, allocations: 3.938 kB / 0.6037 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.9903, allocations: 3.984 kB / 0.6037 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005674/0.996, allocations: 3.024 MB / 0.6066 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.9961, allocations: 4 kB / 0.6066 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000859/0.9969, allocations: 187.7 kB / 0.6068 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.9987, allocations: 386.6 kB / 0.6072 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.9988, allocations: 43.97 kB / 0.6072 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/1, allocations: 0.8755 MB / 0.6081 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1, allocations: 3.938 kB / 0.6081 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/1.005, allocations: 2.414 MB / 0.6104 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009769/1.006, allocations: 323.7 kB / 0.6107 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/1.006, allocations: 31.98 kB / 0.6108 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.008, allocations: 59.95 kB / 0.6108 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/1.008, allocations: 72.83 kB / 0.6109 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/1.008, allocations: 59.91 kB / 0.611 GB, free: 4.602 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009056/1.009, allocations: 0.5693 MB / 0.6115 GB, free: 4.039 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.009, allocations: 0 / 0.6115 GB, free: 4.039 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003705/1.013, allocations: 1.163 MB / 0.6127 GB, free: 2.875 MB / 478.1 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 (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003661/1.016, allocations: 1.15 MB / 0.6138 GB, free: 1.793 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006317/1.023, allocations: 2.955 MB / 0.6167 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/1.023, allocations: 6.062 kB / 0.6167 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.024, allocations: 0.7398 MB / 0.6174 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003953/1.028, allocations: 0.5571 MB / 0.6179 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006027/1.034, allocations: 2.522 MB / 0.6204 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/1.035, allocations: 1.127 MB / 0.6215 GB, free: 9.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002428/1.038, allocations: 0.6174 MB / 0.6221 GB, free: 9.148 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/1.038, allocations: 123.4 kB / 0.6222 GB, free: 9.027 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/1.038, allocations: 0 / 0.6222 GB, free: 9.027 MB / 494.1 MB Notification: Performance of Templates: time 0.2374/1.276, allocations: 41.66 MB / 0.6629 GB, free: 203 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1)