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.005265/0.005265, allocations: 103 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 190 kB / 16.67 MB, free: 5.965 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.593/1.593, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.00137/0.00137, allocations: 52.3 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1056, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.597/0.7027, allocations: 212.8 MB / 0.5722 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.7201, allocations: 13.19 MB / 0.5851 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.7215, allocations: 27.81 kB / 0.5851 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.7231, allocations: 465.3 kB / 0.5855 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.7336, allocations: 3.619 MB / 0.5891 GB, free: 9.566 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008022/0.7416, allocations: 2.843 MB / 0.5918 GB, free: 6.715 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004373/0.746, allocations: 2.633 MB / 0.5944 GB, free: 4.07 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.7476, allocations: 0.7776 MB / 0.5952 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008514/0.7561, allocations: 3.123 MB / 0.5982 GB, free: 148 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.7586, allocations: 1.071 MB / 0.5993 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000346/0.759, allocations: 120 kB / 0.5994 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01407/0.7731, allocations: 6.701 MB / 0.6059 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.7743, allocations: 0.53 MB / 0.6065 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.7753, allocations: 0.6419 MB / 0.6071 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01533/0.7907, allocations: 4.911 MB / 0.6119 GB, free: 2.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.7907, allocations: 4 kB / 0.6119 GB, free: 2.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.7907, allocations: 0 / 0.6119 GB, free: 2.141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.751e-05/0.7908, allocations: 3.938 kB / 0.6119 GB, free: 2.137 MB / 494.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.005643/0.7964, allocations: 2.135 MB / 0.614 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.7965, allocations: 8.031 kB / 0.614 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000504/0.797, allocations: 130.7 kB / 0.6141 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.7985, allocations: 0.7125 MB / 0.6148 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.7987, allocations: 137.9 kB / 0.6149 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.7988, allocations: 87.98 kB / 0.615 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.8012, allocations: 1.464 MB / 0.6164 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.8012, allocations: 7.984 kB / 0.6164 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.8013, allocations: 35.98 kB / 0.6165 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.229e-05/0.8014, allocations: 73.97 kB / 0.6166 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.8037, allocations: 1.471 MB / 0.618 GB, free: 11.7 MB / 0.4981 GB 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.009264/0.8129, allocations: 6.36 MB / 0.6242 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.8148, allocations: 0.9721 MB / 0.6251 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007609/0.8156, allocations: 0.5308 MB / 0.6257 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/0.8174, allocations: 2.066 MB / 0.6277 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.8175, allocations: 47.56 kB / 0.6277 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005461/0.818, allocations: 94.95 kB / 0.6278 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 3.447e-06/0.818, allocations: 0 / 0.6278 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.01642/0.8344, allocations: 4.794 MB / 0.6325 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.8346, allocations: 119.8 kB / 0.6326 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.8356, allocations: 0.7621 MB / 0.6334 GB, free: 11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.8357, allocations: 49.7 kB / 0.6334 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.836, allocations: 447.2 kB / 0.6338 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.8363, allocations: 347.1 kB / 0.6342 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/0.8367, allocations: 250.7 kB / 0.6344 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.8369, allocations: 402.7 kB / 0.6348 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.8381, allocations: 0.6266 MB / 0.6354 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.8395, allocations: 0.9576 MB / 0.6363 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.8422, allocations: 1.658 MB / 0.638 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.8422, allocations: 4 kB / 0.638 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003872/0.8461, allocations: 1.945 MB / 0.6399 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.269e-05/0.8462, allocations: 64 kB / 0.6399 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.8462, allocations: 16 kB / 0.6399 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.8477, allocations: 304.5 kB / 0.6402 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.8487, allocations: 283.5 kB / 0.6405 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.8503, allocations: 0.9036 MB / 0.6414 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.8514, allocations: 68.02 kB / 0.6414 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.8516, allocations: 71.98 kB / 0.6415 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001624/0.8532, allocations: 0.8615 MB / 0.6424 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001457/0.8547, allocations: 0.9381 MB / 0.6433 GB, free: 300 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2551/1.11, allocations: 1.634 MB / 0.6449 GB, free: 212.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.13e-05/1.11, allocations: 3.312 kB / 0.6449 GB, free: 212.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004008/1.114, allocations: 1.912 MB / 0.6467 GB, free: 212.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/1.114, allocations: 72.22 kB / 0.6468 GB, free: 212.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.114, allocations: 11.16 kB / 0.6468 GB, free: 212.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/1.115, allocations: 309.6 kB / 0.6471 GB, free: 212.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.116, allocations: 276.4 kB / 0.6474 GB, free: 212.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/1.118, allocations: 0.9053 MB / 0.6483 GB, free: 211.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009828/1.119, allocations: 65.36 kB / 0.6483 GB, free: 211.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.119, allocations: 81.12 kB / 0.6484 GB, free: 211.8 MB / 0.5137 GB 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.0004187/1.12, allocations: 262.6 kB / 0.6486 GB, free: 211.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/1.12, allocations: 100 kB / 0.6487 GB, free: 211.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/1.124, allocations: 1.914 MB / 0.6506 GB, free: 210.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.124, allocations: 15.67 kB / 0.6506 GB, free: 210.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.124, allocations: 4.594 kB / 0.6506 GB, free: 210.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/1.124, allocations: 5.016 kB / 0.6506 GB, free: 210.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005401/1.129, allocations: 3.03 MB / 0.6536 GB, free: 209.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.129, allocations: 2.25 kB / 0.6536 GB, free: 209.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/1.13, allocations: 182.7 kB / 0.6538 GB, free: 209.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/1.132, allocations: 379.2 kB / 0.6541 GB, free: 209.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.175e-05/1.132, allocations: 38.84 kB / 0.6542 GB, free: 209.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/1.133, allocations: 0.8795 MB / 0.655 GB, free: 208.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.133, allocations: 3.828 kB / 0.655 GB, free: 208.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004103/1.137, allocations: 2.415 MB / 0.6574 GB, free: 207.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/1.138, allocations: 327.3 kB / 0.6577 GB, free: 207.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/1.138, allocations: 33.39 kB / 0.6577 GB, free: 207.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008177/1.139, allocations: 59.25 kB / 0.6578 GB, free: 207.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/1.139, allocations: 70.03 kB / 0.6579 GB, free: 207.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.139, allocations: 61.33 kB / 0.6579 GB, free: 207.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006622/1.14, allocations: 0.568 MB / 0.6585 GB, free: 207.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/1.14, allocations: 0 / 0.6585 GB, free: 207.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00309/1.143, allocations: 1.166 MB / 0.6596 GB, free: 207.3 MB / 0.5137 GB 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.002284/1.145, allocations: 1.147 MB / 0.6607 GB, free: 207.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004214/1.15, allocations: 2.637 MB / 0.6633 GB, free: 206 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.15, allocations: 448 / 0.6633 GB, free: 206 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/1.151, allocations: 0.7437 MB / 0.664 GB, free: 205.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.153, allocations: 0.554 MB / 0.6646 GB, free: 205.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/1.157, allocations: 2.512 MB / 0.667 GB, free: 204 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/1.158, allocations: 1.122 MB / 0.6681 GB, free: 203.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001472/1.159, allocations: 0.6122 MB / 0.6687 GB, free: 202.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/1.16, allocations: 120.7 kB / 0.6688 GB, free: 202.8 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/1.16, allocations: 4 kB / 0.6688 GB, free: 202.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.04743/1.207, allocations: 42.39 MB / 0.7102 GB, free: 160.7 MB / 0.5137 GB 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)