Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001071/0.001072, allocations: 109.9 kB / 16.51 MB, free: 6.707 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.001051/0.001051, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.373/1.373, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001292/0.001292, allocations: 51.94 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09274, allocations: 46.62 MB / 326 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.3994/0.4922, allocations: 212.6 MB / 0.526 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2555/0.7478, allocations: 13.7 MB / 0.5394 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.7491, allocations: 26.47 kB / 0.5394 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.7504, allocations: 419.4 kB / 0.5398 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008703/0.7591, allocations: 3.164 MB / 0.5429 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00712/0.7663, allocations: 2.465 MB / 0.5453 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004556/0.7708, allocations: 3.782 MB / 0.549 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.772, allocations: 0.6676 MB / 0.5496 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007429/0.7794, allocations: 2.787 MB / 0.5523 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.782, allocations: 1.091 MB / 0.5534 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.7823, allocations: 60.47 kB / 0.5535 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0121/0.7944, allocations: 6.883 MB / 0.5602 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.7955, allocations: 494.6 kB / 0.5607 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.797, allocations: 0.5823 MB / 0.5612 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.8077, allocations: 4.997 MB / 0.5661 GB, free: 232 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8078, allocations: 0 / 0.5661 GB, free: 232 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.8078, allocations: 0 / 0.5661 GB, free: 232 kB / 430.1 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.8078, allocations: 2.125 kB / 0.5661 GB, free: 232 kB / 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.004887/0.8127, allocations: 2.125 MB / 0.5682 GB, free: 14.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.8127, allocations: 8.5 kB / 0.5682 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004616/0.8132, allocations: 132 kB / 0.5683 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009989/0.8142, allocations: 0.6829 MB / 0.569 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.8143, allocations: 133.6 kB / 0.5691 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.8145, allocations: 91.61 kB / 0.5692 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.8166, allocations: 1.464 MB / 0.5706 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.8166, allocations: 9.719 kB / 0.5706 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.8168, allocations: 38.98 kB / 0.5707 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-05/0.8168, allocations: 73.27 kB / 0.5708 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.8189, allocations: 1.47 MB / 0.5722 GB, free: 13.61 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.00817/0.8271, allocations: 6.35 MB / 0.5784 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.8289, allocations: 0.9831 MB / 0.5794 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007242/0.8296, allocations: 0.5201 MB / 0.5799 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.8312, allocations: 2.061 MB / 0.5819 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.8313, allocations: 51.91 kB / 0.5819 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005281/0.8318, allocations: 106.2 kB / 0.582 GB, free: 6.824 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.916e-06/0.8318, allocations: 0 / 0.582 GB, free: 6.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01582/0.8476, allocations: 4.8 MB / 0.5867 GB, free: 4.348 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.8477, allocations: 111.8 kB / 0.5868 GB, free: 4.211 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009805/0.8487, allocations: 0.7794 MB / 0.5876 GB, free: 3.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.8489, allocations: 46.83 kB / 0.5876 GB, free: 3.566 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.8491, allocations: 445.8 kB / 0.588 GB, free: 3.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.8494, allocations: 346.8 kB / 0.5884 GB, free: 2.961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/0.8498, allocations: 254.2 kB / 0.5886 GB, free: 2.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.85, allocations: 402.9 kB / 0.589 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.8512, allocations: 0.6264 MB / 0.5896 GB, free: 2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.8527, allocations: 0.9647 MB / 0.5906 GB, free: 1.129 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/0.8555, allocations: 1.66 MB / 0.5922 GB, free: 15.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.8556, allocations: 4 kB / 0.5922 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004041/0.8596, allocations: 1.943 MB / 0.5941 GB, free: 14.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.523e-05/0.8597, allocations: 66.84 kB / 0.5941 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.8597, allocations: 16.58 kB / 0.5942 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.8612, allocations: 312.5 kB / 0.5945 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.8623, allocations: 273.5 kB / 0.5947 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.864, allocations: 0.9091 MB / 0.5956 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.8653, allocations: 99.91 kB / 0.5957 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.8655, allocations: 79.97 kB / 0.5958 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001697/0.8672, allocations: 0.8499 MB / 0.5966 GB, free: 11.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001508/0.8687, allocations: 0.9493 MB / 0.5975 GB, free: 10.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002752/0.8715, allocations: 1.64 MB / 0.5991 GB, free: 9.043 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.418e-06/0.8715, allocations: 4 kB / 0.5991 GB, free: 9.039 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004026/0.8756, allocations: 1.914 MB / 0.601 GB, free: 7.168 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/0.8756, allocations: 75.41 kB / 0.6011 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.8757, allocations: 8 kB / 0.6011 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.8771, allocations: 308.5 kB / 0.6014 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.8782, allocations: 273.7 kB / 0.6016 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.8797, allocations: 0.9027 MB / 0.6025 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.881, allocations: 112.7 kB / 0.6026 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.8812, allocations: 75.97 kB / 0.6027 GB, free: 5.414 MB / 462.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.0004761/0.8817, allocations: 268.4 kB / 0.603 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.8821, allocations: 94.88 kB / 0.6031 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/0.8863, allocations: 1.911 MB / 0.6049 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.8864, allocations: 16 kB / 0.6049 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8864, allocations: 3.938 kB / 0.6049 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.8864, allocations: 11.97 kB / 0.6049 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005842/0.8922, allocations: 3.028 MB / 0.6079 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.8923, allocations: 0 / 0.6079 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008548/0.8931, allocations: 186.1 kB / 0.6081 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.8949, allocations: 378.8 kB / 0.6084 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.895, allocations: 39.97 kB / 0.6085 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.8964, allocations: 0.876 MB / 0.6093 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.8965, allocations: 4.031 kB / 0.6093 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00461/0.9011, allocations: 2.42 MB / 0.6117 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00076/0.9019, allocations: 327.8 kB / 0.612 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/0.9021, allocations: 28 kB / 0.612 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.9033, allocations: 87.77 kB / 0.6121 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.9035, allocations: 71.34 kB / 0.6122 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.9036, allocations: 59.95 kB / 0.6123 GB, free: 11.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008618/0.9045, allocations: 0.5693 MB / 0.6128 GB, free: 10.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.9045, allocations: 0 / 0.6128 GB, free: 10.96 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004216/0.9087, allocations: 1.167 MB / 0.614 GB, free: 9.793 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.004756/0.9135, allocations: 1.154 MB / 0.6151 GB, free: 8.727 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005509/0.919, allocations: 2.626 MB / 0.6176 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.919, allocations: 2.062 kB / 0.6176 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.9206, allocations: 0.7313 MB / 0.6184 GB, free: 5.418 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/0.9235, allocations: 0.5464 MB / 0.6189 GB, free: 4.879 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005542/0.9291, allocations: 2.884 MB / 0.6217 GB, free: 1.965 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.9298, allocations: 1.12 MB / 0.6228 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002299/0.9321, allocations: 0.6153 MB / 0.6234 GB, free: 212 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/0.9326, allocations: 119.4 kB / 0.6235 GB, free: 92 kB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.9326, allocations: 0 / 0.6235 GB, free: 92 kB / 478.1 MB Notification: Performance of Templates: time 0.05941/0.992, allocations: 40.56 MB / 0.6631 GB, free: 7.602 MB / 0.5137 GB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1)