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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 108 kB / 15.6 MB, free: 132 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.001596/0.001596, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.632/1.632, 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.002377/0.002377, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3247, allocations: 46.63 MB / 325.3 MB, free: 1.824 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4464/0.7711, allocations: 212.8 MB / 0.5254 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.787, allocations: 13.2 MB / 0.5383 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.7882, allocations: 23.88 kB / 0.5384 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.7895, allocations: 474 kB / 0.5388 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009747/0.7993, allocations: 3.611 MB / 0.5423 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007778/0.8071, allocations: 2.857 MB / 0.5451 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.8105, allocations: 2.622 MB / 0.5477 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.8117, allocations: 0.7923 MB / 0.5485 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007581/0.8193, allocations: 3.098 MB / 0.5515 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.8213, allocations: 1.074 MB / 0.5525 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.8216, allocations: 120 kB / 0.5527 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/0.8337, allocations: 6.511 MB / 0.559 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008012/0.8345, allocations: 0.5367 MB / 0.5595 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009082/0.8354, allocations: 0.6354 MB / 0.5602 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.847, allocations: 4.893 MB / 0.5649 GB, free: 5.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.847, allocations: 0 / 0.5649 GB, free: 5.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.847, allocations: 0 / 0.5649 GB, free: 5.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.573e-05/0.8471, allocations: 0 / 0.5649 GB, free: 5.676 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.005213/0.8523, allocations: 2.137 MB / 0.567 GB, free: 3.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.8524, allocations: 12.03 kB / 0.567 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/0.8528, allocations: 130.7 kB / 0.5672 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.8539, allocations: 0.6763 MB / 0.5678 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.854, allocations: 139.6 kB / 0.568 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.8542, allocations: 90.89 kB / 0.568 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.8563, allocations: 1.458 MB / 0.5695 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.8563, allocations: 4 kB / 0.5695 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.8564, allocations: 41.97 kB / 0.5695 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.83e-05/0.8565, allocations: 69.95 kB / 0.5696 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.8588, allocations: 1.475 MB / 0.571 GB, free: 15.31 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.00829/0.8671, allocations: 6.367 MB / 0.5772 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.869, allocations: 0.9721 MB / 0.5782 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000759/0.8698, allocations: 0.5308 MB / 0.5787 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001655/0.8714, allocations: 2.064 MB / 0.5807 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.8715, allocations: 43.56 kB / 0.5808 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004391/0.8719, allocations: 98.95 kB / 0.5808 GB, free: 4.426 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.096e-06/0.8719, allocations: 0 / 0.5808 GB, free: 4.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01629/0.8882, allocations: 4.807 MB / 0.5855 GB, free: 15.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.8883, allocations: 115.8 kB / 0.5857 GB, free: 15.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/0.8893, allocations: 0.7699 MB / 0.5864 GB, free: 14.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.8894, allocations: 49.7 kB / 0.5865 GB, free: 14.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.8897, allocations: 452.6 kB / 0.5869 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.89, allocations: 342.3 kB / 0.5872 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/0.8904, allocations: 250.7 kB / 0.5874 GB, free: 13.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.8906, allocations: 406.7 kB / 0.5878 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.8918, allocations: 0.6188 MB / 0.5884 GB, free: 12.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.8932, allocations: 0.9654 MB / 0.5894 GB, free: 11.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/0.8959, allocations: 1.662 MB / 0.591 GB, free: 9.625 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.8959, allocations: 4 kB / 0.591 GB, free: 9.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003884/0.8998, allocations: 1.937 MB / 0.5929 GB, free: 7.664 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-05/0.8999, allocations: 68.02 kB / 0.593 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.8999, allocations: 8 kB / 0.593 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.9014, allocations: 308.7 kB / 0.5933 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.9024, allocations: 279.5 kB / 0.5935 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.904, allocations: 0.9134 MB / 0.5944 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009592/0.905, allocations: 59.97 kB / 0.5945 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.9051, allocations: 75.95 kB / 0.5946 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001522/0.9066, allocations: 0.8538 MB / 0.5954 GB, free: 5.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001396/0.908, allocations: 0.942 MB / 0.5963 GB, free: 3.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002578/0.9106, allocations: 1.642 MB / 0.5979 GB, free: 2.188 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.9107, allocations: 0 / 0.5979 GB, free: 2.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003885/0.9145, allocations: 1.91 MB / 0.5998 GB, free: 256 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.9146, allocations: 63.41 kB / 0.5998 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.9146, allocations: 16 kB / 0.5999 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.9161, allocations: 316.5 kB / 0.6002 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.9171, allocations: 267.6 kB / 0.6004 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.9186, allocations: 0.9075 MB / 0.6013 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009948/0.9196, allocations: 63.95 kB / 0.6014 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.9198, allocations: 79.95 kB / 0.6014 GB, free: 14.52 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.000395/0.9202, allocations: 264 kB / 0.6017 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.9204, allocations: 102.7 kB / 0.6018 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.9243, allocations: 1.928 MB / 0.6037 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.9243, allocations: 8 kB / 0.6037 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9243, allocations: 0 / 0.6037 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.9243, allocations: 7.984 kB / 0.6037 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005145/0.9295, allocations: 3.027 MB / 0.6066 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9295, allocations: 7.938 kB / 0.6066 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/0.9303, allocations: 179.8 kB / 0.6068 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/0.9321, allocations: 384.4 kB / 0.6072 GB, free: 8.535 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/0.9322, allocations: 39.97 kB / 0.6072 GB, free: 8.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.9336, allocations: 0.8686 MB / 0.6081 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9336, allocations: 0 / 0.6081 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.938, allocations: 2.416 MB / 0.6104 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005774/0.9386, allocations: 327.6 kB / 0.6107 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.9388, allocations: 32.08 kB / 0.6108 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008764/0.9397, allocations: 63.94 kB / 0.6108 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.9399, allocations: 80.77 kB / 0.6109 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.94, allocations: 55.97 kB / 0.611 GB, free: 4.582 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000715/0.9407, allocations: 0.5693 MB / 0.6115 GB, free: 4.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9407, allocations: 4 kB / 0.6115 GB, free: 4.016 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003173/0.9439, allocations: 1.163 MB / 0.6127 GB, free: 2.852 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.002946/0.9469, allocations: 1.151 MB / 0.6138 GB, free: 1.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00585/0.9527, allocations: 2.949 MB / 0.6167 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.9528, allocations: 4.438 kB / 0.6167 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.9542, allocations: 0.7438 MB / 0.6174 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.9568, allocations: 0.561 MB / 0.6179 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.9618, allocations: 2.525 MB / 0.6204 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.9625, allocations: 1.119 MB / 0.6215 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002095/0.9646, allocations: 0.6174 MB / 0.6221 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.965, allocations: 119.4 kB / 0.6222 GB, free: 9.012 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.965, allocations: 0 / 0.6222 GB, free: 9.012 MB / 494.1 MB Notification: Performance of Templates: time 0.2145/1.18, allocations: 41.66 MB / 0.6629 GB, free: 203.2 MB / 494.1 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)